Class: SacsRuby::API::CountriesLookup

Inherits:
Base
  • Object
show all
Defined in:
lib/sacs_ruby/api/countries_lookup.rb

Overview

The Countries Lookup API retrieves a list of origin and destination countries. These countries can be used as a filter in applicable REST APIs. This API is point of sale specific (each point of sale supports a unique list of origin and destination countries).

Instance Attribute Summary

Attributes inherited from Base

#opts, #results, #token, #url

Instance Method Summary collapse

Methods inherited from Base

get, #get, #initialize, #valid?

Constructor Details

This class inherits a constructor from SacsRuby::Base

Instance Method Details

#endpoint_urlObject



10
11
12
# File 'lib/sacs_ruby/api/countries_lookup.rb', line 10

def endpoint_url
  '/v1/lists/supported/countries'
end