Module: Authlete::Model::Hashable

Included in:
Client, ClientExtension, NamedUri, Pair, Property, Request::Base, Scope, Service, ServiceOwner, SnsCredentials, TaggedValue
Defined in:
lib/authlete/model/hashable.rb

Instance Method Summary collapse

Instance Method Details

#to_hashObject



40
41
42
# File 'lib/authlete/model/hashable.rb', line 40

def to_hash
  Hash[ instance_variables.map { |var| to_key_value_pair(var) } ]
end