Sha256: 1cdd7f0b7f8efa9205e268a50a8a5da24f19c2b981c6a0984eefa50aca7c0af9

Contents?: true

Size: 189 Bytes

Versions: 8

Compression:

Stored size: 189 Bytes

Contents

module Grape
  class Entity
    module Delegator
      class FetchableObject < Base
        def delegate(attribute)
          object.fetch attribute
        end
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
grape-entity-0.6.1 lib/grape_entity/delegator/fetchable_object.rb
grape-entity-0.6.0 lib/grape_entity/delegator/fetchable_object.rb
grape-entity-0.5.2 lib/grape_entity/delegator/fetchable_object.rb
grape-entity-0.5.1 lib/grape_entity/delegator/fetchable_object.rb
grape-entity-0.5.0 lib/grape_entity/delegator/fetchable_object.rb
grape-entity-0.4.8 lib/grape_entity/delegator/fetchable_object.rb
grape-entity-0.4.7 lib/grape_entity/delegator/fetchable_object.rb
grape-entity-0.4.6 lib/grape_entity/delegator/fetchable_object.rb