Class: Authlete::Model::Base

Inherits:
Object
  • Object
show all
Includes:
ParamInitializer
Defined in:
lib/authlete/model/base.rb

Class Method Summary collapse

Class Method Details

.parse(hash) ⇒ Object



25
26
27
# File 'lib/authlete/model/base.rb', line 25

def self.parse(hash)
  hash.kind_of?(Hash) ? self.new(hash) : nil
end