Class: EveOnline::ESI::Resources::DogmaResources
- Inherits:
-
Resource
- Object
- Resource
- EveOnline::ESI::Resources::DogmaResources
show all
- Defined in:
- lib/eve_online/esi/resources/dogma_resources.rb
Instance Attribute Summary
Attributes inherited from Resource
#client
Instance Method Summary
collapse
Methods inherited from Resource
#default_headers, #get_request, #initialize, #post_request, #user_agent
Instance Method Details
#attribute(id:) ⇒ Object
14
15
16
17
18
|
# File 'lib/eve_online/esi/resources/dogma_resources.rb', line 14
def attribute(id:)
response = get_request("dogma/attributes/#{id}")
Models::DogmaAttribute.new(attributes: response.body, headers: response.)
end
|
#attributes ⇒ Object
7
8
9
10
11
|
# File 'lib/eve_online/esi/resources/dogma_resources.rb', line 7
def attributes
response = get_request("dogma/attributes")
Models::DogmaAttributes.new(body: response.body, headers: response.)
end
|
#effect(id:) ⇒ Object
27
28
29
30
31
|
# File 'lib/eve_online/esi/resources/dogma_resources.rb', line 27
def effect(id:)
response = get_request("dogma/effects/#{id}")
Models::DogmaEffect.new(attributes: response.body, headers: response.)
end
|
20
21
22
23
24
|
# File 'lib/eve_online/esi/resources/dogma_resources.rb', line 20
def effects
response = get_request("dogma/effects")
Models::DogmaEffects.new(body: response.body, headers: response.)
end
|