Class: EveCrest::Response::Incursions
- Inherits:
-
BaseResponse
- Object
- BaseResponse
- EveCrest::Response::Incursions
- Defined in:
- lib/responses/incursions.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
#all ⇒ Object
4 5 6 7 8 9 10 |
# File 'lib/responses/incursions.rb', line 4 def all incursions = Array.new data['items'].each do |incursion_data| incursions.push(EveCrest::Incursion.new(incursion_data)) end incursions end |
#count ⇒ Object
11 12 13 |
# File 'lib/responses/incursions.rb', line 11 def count data['totalCount'] end |