Class: EveCrest::Response::Opportunities::Group
- Inherits:
-
BaseResponse
- Object
- BaseResponse
- EveCrest::Response::Opportunities::Group
- Defined in:
- lib/responses/opportunities/group.rb
Instance Attribute Summary
Attributes inherited from BaseResponse
Instance Method Summary collapse
- #description ⇒ Object
-
#group_connection ⇒ Object
group connections only have one item ever in them ?????.
- #name ⇒ Object
- #tasks ⇒ Object
Methods inherited from BaseResponse
#cached_until, #error_message, #initialize, #raw, #success?
Constructor Details
This class inherits a constructor from EveCrest::BaseResponse
Instance Method Details
#description ⇒ Object
8 9 10 |
# File 'lib/responses/opportunities/group.rb', line 8 def description data['description'] end |
#group_connection ⇒ Object
group connections only have one item ever in them ?????
18 19 20 |
# File 'lib/responses/opportunities/group.rb', line 18 def group_connection data['groupConnections'].first['id'] end |
#name ⇒ Object
5 6 7 |
# File 'lib/responses/opportunities/group.rb', line 5 def name data['name'] end |
#tasks ⇒ Object
11 12 13 14 15 16 |
# File 'lib/responses/opportunities/group.rb', line 11 def tasks _tasks = Array.new data['achievementTasks'].each do |t| _tasks.push(t['id']) end end |