lib/transcriber/resource/response/property.rb in transcriber-0.0.2 vs lib/transcriber/resource/response/property.rb in transcriber-0.0.3
- old
+ new
@@ -1,10 +1,10 @@
module Transcriber
class Resource
module Response
module Property
def to_resource(parent)
- present?(parent) ? {name => parent.__send__(name)} : {}
+ visible?(parent) ? {name => parent.__send__(name)} : {}
end
end
end
end
end