Method: SparkApi::Authentication::Session#initialize
- Defined in:
- lib/spark_api/authentication/api_auth.rb
#initialize(options = {}) ⇒ Session
Returns a new instance of Session.
94 95 96 97 98 |
# File 'lib/spark_api/authentication/api_auth.rb', line 94 def initialize(={}) @auth_token = ["AuthToken"] @expires = DateTime.parse ["Expires"] @roles = ["Roles"] end |