Class: Moneta::Api::Types::KeyValueAttribute

Inherits:
Object
  • Object
show all
Includes:
DataMapper
Defined in:
lib/moneta/api/types/key_value_attribute.rb

Overview

Тип, который позволяет работать с сущностями типа "ключ-значение". Key-value pairs type.

Instance Method Summary collapse

Methods included from DataMapper

#fill, #to_hash

Instance Method Details

#keyString

Returns:

  • (String)


11
# File 'lib/moneta/api/types/key_value_attribute.rb', line 11

property :key

#valueString

Returns:

  • (String)


14
# File 'lib/moneta/api/types/key_value_attribute.rb', line 14

property :value