Method: HaveAPI::Client::Authentication::Token#load
- Defined in:
- lib/haveapi/client/authentication/token.rb
#load(hash) ⇒ Object
34 35 36 37 |
# File 'lib/haveapi/client/authentication/token.rb', line 34 def load(hash) @token = hash[:token] @valid_to = hash[:valid_to] end |