cbdr/ruby-cb-api — pull request #169 by NicholasBusby (2014-11-19 15:43:06+00:00)
Title: Adding state data list

To test this locally:

bundle
bundle exec irb
require 'Cb'
require 'pry'

Cb.configure do |config|
config.dev_key = 'GetYourOwnDevKey'
config.time_out = 30
config.debug_api = true
end

input = {country_code: 'US'}
client = Cb::Client.new
request = Cb::Requests::State::Get.new(input)
response = client.execute(request)