class Moneta::Api::Types::HashEntity

Public Instance Methods

to_hash() click to toggle source
# File lib/moneta/api/types/hash_entity.rb, line 7
def to_hash
  attributes = Moneta::Api::KeyValueSerializer.serialize(self)
  { 'attribute' => attributes } if attributes.any?
end