Update resource.rb

test 2