Skip to content

Instantly share code, notes, and snippets.

@SnacksOnAPlane
Created May 17, 2017 18:03
Show Gist options
  • Save SnacksOnAPlane/1a7b1fb84de076d159ae6141286beb52 to your computer and use it in GitHub Desktop.
Save SnacksOnAPlane/1a7b1fb84de076d159ae6141286beb52 to your computer and use it in GitHub Desktop.
aussie address check
a = Address.new(company_id: 1, network: 'twilio', street_1: '76 Eastfield Rd', street_2: '', city: 'Croydon', state: 'VIC', country_id: 7, postal_code: '3136')
anp = CallRail::Telephony::AddressNetworkProxy::Twilio.new(a)
anp.save
before you run this, stick a "binding.pry" into lib/call_rail/telephony/address_network_proxy.rb line 35, right before response.success? && JSON.parse(response.body)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment