Method: Bcx::Client::HTTP#initialize
- Defined in:
- lib/bcx/client/http.rb
#initialize(options = {}) ⇒ HTTP
Returns a new instance of HTTP.
24 25 26 27 28 29 30 31 |
# File 'lib/bcx/client/http.rb', line 24 def initialize( = {}) @account = Bcx.configuration.account @api_version = Bcx.configuration.api_version self.class.site("https://basecamp.com/#{@account}/api/#{@api_version}/") super() end |