Class: ElderScrollsLegends::Attribute

Inherits:
Object
  • Object
show all
Includes:
RestClient
Defined in:
lib/elder_scrolls_legends_sdk/attribute.rb

Class Method Summary collapse

Methods included from RestClient

get

Class Method Details

.allArray<String>

Get all attributes

Returns:

  • (Array<String>)

    All attributes



8
9
10
# File 'lib/elder_scrolls_legends_sdk/attribute.rb', line 8

def self.all
  RestClient.get('attributes').body['attributes']
end