Class: Greeve::API::CallList
- Defined in:
- lib/greeve/api/call_list.rb
Overview
Note:
Endpoint: api.eveonline.com/api/CallList.xml.aspx
List of all selectable API endpoints/groups to which an API grants access to.
Attributes collapse
Methods inherited from BaseItem
attribute, #cache_expired?, #cached_until, endpoint, #initialize, #inspect, namespace, #refresh, rowset, #to_s
Methods included from Helpers::AttributeToHash
Constructor Details
This class inherits a constructor from Greeve::BaseItem
Instance Method Details
#call_groups ⇒ Greeve::Rowset
12 13 14 15 16 |
# File 'lib/greeve/api/call_list.rb', line 12 rowset :call_groups, xpath: "eveapi/result/rowset[@name='callGroups']" do attribute :group_id, xpath: "@groupID", type: :integer attribute :name, xpath: "@name", type: :string attribute :description, xpath: "@description", type: :string end |
#calls ⇒ Greeve::Rowset
18 19 20 21 22 23 24 |
# File 'lib/greeve/api/call_list.rb', line 18 rowset :calls, xpath: "eveapi/result/rowset[@name='calls']" do attribute :access_mask, xpath: "@accessMask", type: :integer attribute :type, xpath: "@type", type: :string attribute :name, xpath: "@name", type: :string attribute :group_id, xpath: "@groupID", type: :integer attribute :description, xpath: "@description", type: :string end |