Sha256: fa7047e6851dd9fa44dd594b67f3856e5847241d77e2357b71d08bac19a78438

Contents?: true

Size: 216 Bytes

Versions: 23

Compression:

Stored size: 216 Bytes

Contents

module Transcriber
  class Resource
    module Response
      module Property
        def to_resource(parent)
          visible?(parent) ? {name => parent.__send__(name)} : {}
        end
      end
    end
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
transcriber-0.0.25 lib/transcriber/resource/response/property.rb
transcriber-0.0.24 lib/transcriber/resource/response/property.rb
transcriber-0.0.23 lib/transcriber/resource/response/property.rb
transcriber-0.0.22 lib/transcriber/resource/response/property.rb
transcriber-0.0.21 lib/transcriber/resource/response/property.rb
transcriber-0.0.20 lib/transcriber/resource/response/property.rb
transcriber-0.0.19 lib/transcriber/resource/response/property.rb
transcriber-0.0.18 lib/transcriber/resource/response/property.rb
transcriber-0.0.17 lib/transcriber/resource/response/property.rb
transcriber-0.0.16 lib/transcriber/resource/response/property.rb
transcriber-0.0.15 lib/transcriber/resource/response/property.rb
transcriber-0.0.14 lib/transcriber/resource/response/property.rb
transcriber-0.0.13 lib/transcriber/resource/response/property.rb
transcriber-0.0.12 lib/transcriber/resource/response/property.rb
transcriber-0.0.11 lib/transcriber/resource/response/property.rb
transcriber-0.0.10 lib/transcriber/resource/response/property.rb
transcriber-0.0.9 lib/transcriber/resource/response/property.rb
transcriber-0.0.8 lib/transcriber/resource/response/property.rb
transcriber-0.0.7 lib/transcriber/resource/response/property.rb
transcriber-0.0.6 lib/transcriber/resource/response/property.rb