Sha256: b46f723cf911479cda241da5ecc5b9d305018fcaaf2df7ef5e371953bda42c9c

Contents?: true

Size: 179 Bytes

Versions: 8

Compression:

Stored size: 179 Bytes

Contents

module Grape
  class Entity
    module Delegator
      class HashObject < Base
        def delegate(attribute)
          object[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/hash_object.rb
grape-entity-0.6.0 lib/grape_entity/delegator/hash_object.rb
grape-entity-0.5.2 lib/grape_entity/delegator/hash_object.rb
grape-entity-0.5.1 lib/grape_entity/delegator/hash_object.rb
grape-entity-0.5.0 lib/grape_entity/delegator/hash_object.rb
grape-entity-0.4.8 lib/grape_entity/delegator/hash_object.rb
grape-entity-0.4.7 lib/grape_entity/delegator/hash_object.rb
grape-entity-0.4.6 lib/grape_entity/delegator/hash_object.rb