Sha256: 9ab821b5b5556f67dbaab992bbdb171ed08caea64dc79160b64654022f200573
Contents?: true
Size: 615 Bytes
Versions: 2
Compression:
Stored size: 615 Bytes
Contents
module Bcx module Client class HTTP < Rapidash::Client method :http extension :json encode_request_with :json raise_errors resource :projects, class_name: 'Bcx::Resources::Project' resource :todolists, class_name: 'Bcx::Resources::Todolist' resource :people, class_name: 'Bcx::Resources::Person' def initialize(options = {}) @account = Bcx.configuration.account @api_version = Bcx.configuration.api_version self.class.site("https://basecamp.com/#{@account}/api/#{@api_version}/") super(options) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
bcx-0.2.0 | lib/bcx/client/http.rb |
bcx-0.1.1 | lib/bcx/client/http.rb |