Method: NFTStorage::GetResponse.build_from_hash

Defined in:
lib/nft_storage/models/get_response.rb

.build_from_hash(attributes) ⇒ Object

Builds the object from hash

Parameters:

  • attributes (Hash)

    Model attributes in the form of hash

Returns:

  • (Object)

    Returns the model itself



112
113
114
# File 'lib/nft_storage/models/get_response.rb', line 112

def self.build_from_hash(attributes)
  new.build_from_hash(attributes)
end