Module: Address::Io::ApiOperations::List

Includes:
Address::Io::ApiResource
Included in:
State
Defined in:
lib/address/io/api_operations/list.rb

Constant Summary

Constants included from Address::Io::ApiResource

Address::Io::ApiResource::BASE_URL

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Address::Io::ApiResource

#api_request, #encode, #recursive_symbolize_keys, #url_encode

Class Method Details

.included(base) ⇒ Object



11
12
13
# File 'lib/address/io/api_operations/list.rb', line 11

def self.included(base)
  base.extend(List)
end

Instance Method Details

#list_all(params = nil) ⇒ Object



7
8
9
# File 'lib/address/io/api_operations/list.rb', line 7

def list_all(params=nil)
  api_request(url, :get, params)
end