Module: Authlete::Model::Hashable
- Included in:
- Client, ClientExtension, Hsk, NamedUri, Pair, Property, Request::Base, Scope, Service, ServiceOwner, SnsCredentials, TaggedValue, TrustAnchor
- Defined in:
- lib/authlete/model/hashable.rb
Instance Method Summary collapse
Instance Method Details
#to_hash ⇒ Object
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 |