jplopez / bing-ads-api

Simple Ruby API for the Bing Ads SOAP Webservices
MIT License
1 stars 25 forks source link

NoMethodError: undefined method `camelize' for "budget_limit_type":String #3

Open charle5 opened 10 years ago

charle5 commented 10 years ago
[1] pry(main)> require 'bing-ads-api'
NoMethodError: undefined method `camelize' for "budget_limit_type":String
from /opt/boxen/rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/gems/bing-ads-api-0.3/lib/bing-ads-api/constants.rb:55:in `block in <module:BingAdsApi>'

any clues on how to fix this?

csalvato commented 9 years ago

You need to require rails:

require 'rails'

This is only required if you are not using RoR for this project.