Class: EveCrest::Response::Time
- Inherits:
-
BaseResponse
- Object
- BaseResponse
- EveCrest::Response::Time
- Defined in:
- lib/responses/time.rb
Instance Attribute Summary
Attributes inherited from BaseResponse
Instance Method Summary collapse
Methods inherited from BaseResponse
#cached_until, #error_message, #initialize, #raw, #success?
Constructor Details
This class inherits a constructor from EveCrest::BaseResponse
Instance Method Details
#get ⇒ Object
4 5 6 |
# File 'lib/responses/time.rb', line 4 def get DateTime.parse(data['time']) end |