Method: LexofficeClient::Model::Base::AttributeNamesConcern#attributes

Defined in:
lib/lexoffice_client/model/base.rb

#attributesObject



52
53
54
55
56
# File 'lib/lexoffice_client/model/base.rb', line 52

def attributes
  self.class.attribute_names.each_with_object({}) do |attr_name, memo|
    memo[attr_name.to_sym] = send(attr_name)
  end
end