class Phaxio::Resources::Public::Country
Constants
- SUPPORTED_COUNTRIES_PATH
Public Class Methods
list(params = {})
click to toggle source
@macro paging Get a list of supported countries for sending faxes. @param params [Hash]
A hash of parameters to send to Phaxio. This action has no unique parameters.
@return [Phaxio::Resource::Collection<Phaxio::Resources::Country>]
A collection of supported countries.
@raise Phaxio::Error::PhaxioError @see www.phaxio.com/docs/api/v2/public/list_countries
# File lib/phaxio/resources/public/country.rb, line 40 def list params = {} response = Client.request :get, supported_countries_endpoint, params Country.response_collection response end
Private Class Methods
supported_countries_endpoint()
click to toggle source
# File lib/phaxio/resources/public/country.rb, line 47 def supported_countries_endpoint SUPPORTED_COUNTRIES_PATH end