Sha256: d1d3bbe3017ef9b31d6886ec58e0293725ddec703ec0868b28b06031bd70ab59

Contents?: true

Size: 239 Bytes

Versions: 3

Compression:

Stored size: 239 Bytes

Contents

module ElderScrollsLegends
  class Subtype
    include RestClient
    
    # Get all subtypes
    #
    # @return [Array<String>]  All subtypes
    def self.all
      RestClient.get('subtypes').body['subtypes']
    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/subtype.rb
elder_scrolls_legends_sdk-1.1.0 lib/elder_scrolls_legends_sdk/subtype.rb
elder_scrolls_legends_sdk-1.0.0 lib/elder_scrolls_legends_sdk/subtype.rb