Sha256: 9586f37ed8b636f6ca1b2e17898d738f253f8483621e6cd09c34bf668d865650

Contents?: true

Size: 224 Bytes

Versions: 3

Compression:

Stored size: 224 Bytes

Contents

module ElderScrollsLegends
  class Type
    include RestClient
    
    # Get all types
    #
    # @return [Array<String>]  All types
    def self.all
      RestClient.get('types').body['types']
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
elder_scrolls_legends_sdk-1.2.0 lib/elder_scrolls_legends_sdk/type.rb
elder_scrolls_legends_sdk-1.1.0 lib/elder_scrolls_legends_sdk/type.rb
elder_scrolls_legends_sdk-1.0.0 lib/elder_scrolls_legends_sdk/type.rb