Class: Bcx::Client::HTTP
- Inherits:
-
Rapidash::Client
- Object
- Rapidash::Client
- Bcx::Client::HTTP
- Defined in:
- lib/bcx/client/http.rb
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ HTTP
constructor
A new instance of HTTP.
Constructor Details
#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 |