Created
May 17, 2017 18:03
-
-
Save SnacksOnAPlane/1a7b1fb84de076d159ae6141286beb52 to your computer and use it in GitHub Desktop.
aussie address check
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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