Class: Bcx::Client::HTTP

Inherits:
Rapidash::Client
  • Object
show all
Defined in:
lib/bcx/client/http.rb

Instance Method Summary collapse

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(options = {})
  @account = Bcx.configuration.
  @api_version = Bcx.configuration.api_version

  self.class.site("https://basecamp.com/#{@account}/api/#{@api_version}/")

  super(options)
end