Class: ShelbyArena::ShelbySession
- Defined in:
- lib/api/shelby_session.rb
Instance Attribute Summary
Attributes inherited from ApiObject
#error_messages, #marked_for_destruction
Instance Method Summary collapse
-
#initialize(response_data) ⇒ ShelbySession
constructor
Constructor.
Methods inherited from ApiObject
Constructor Details
#initialize(response_data) ⇒ ShelbySession
Constructor.
10 11 12 13 |
# File 'lib/api/shelby_session.rb', line 10 def initialize(response_data) self.id = response_data['ApiSession']['SessionID'] self.expires_at = response_data['ApiSession']['DateExpires'] end |