Module: CyprusPostalCodes::Client::Addresses

Included in:
CyprusPostalCodes::Client
Defined in:
lib/cyprus_postal_codes/client/addresses.rb

Instance Method Summary collapse

Instance Method Details

#addresses(post_code:, page_token: nil) ⇒ Object



6
7
8
# File 'lib/cyprus_postal_codes/client/addresses.rb', line 6

def addresses(post_code:, page_token: nil)
  get("addresses", postal_code: post_code, page_token: page_token)
end