Module: Unchained::Client::Attributes

Included in:
Unchained::Client
Defined in:
lib/unchained/client/attributes.rb

Defined Under Namespace

Classes: AttributeInfo, AttributeOffset

Instance Method Summary collapse

Instance Method Details

#attribute_offsets(shard, opts = {}) ⇒ Object



29
30
31
# File 'lib/unchained/client/attributes.rb', line 29

def attribute_offsets(shard, opts={})
  get_resources("#{base_url}/gamedata/attributeoffsets/#{shard}", AttributeOffset, opts)
end

#attributes(shard, opts = {}) ⇒ Object



25
26
27
# File 'lib/unchained/client/attributes.rb', line 25

def attributes(shard, opts={})
  get_resources("#{base_url}/gamedata/attributes/#{shard}", AttributeInfo, opts)
end