Module: Headquarters

Defined in:
lib/headquarters.rb,
lib/headquarters/api.rb,
lib/headquarters/client.rb,
lib/headquarters/railtie.rb,
lib/headquarters/request.rb,
lib/headquarters/version.rb,
lib/headquarters/api/factory.rb,
lib/headquarters/client/email.rb,
lib/headquarters/api/endpoints.rb,
lib/headquarters/client/github.rb,
lib/headquarters/client/members.rb,
lib/headquarters/rails_delivery_method.rb,
lib/headquarters/api/oauth_authenticator.rb

Defined Under Namespace

Classes: API, Client, RailsDeliveryMethod, Railtie, Request

Constant Summary collapse

API_BASE =
'https://hq.subvisual.co'
ROOT_PATH =
File.dirname(__FILE__)
VERSION =
'0.4.0'

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.api_baseObject

Returns the value of attribute api_base.



20
21
22
# File 'lib/headquarters.rb', line 20

def api_base
  @api_base
end

.api_portObject

Returns the value of attribute api_port.



20
21
22
# File 'lib/headquarters.rb', line 20

def api_port
  @api_port
end

.loggerObject

Returns the value of attribute logger.



20
21
22
# File 'lib/headquarters.rb', line 20

def logger
  @logger
end

Class Method Details

.new(*options) ⇒ Object



22
23
24
# File 'lib/headquarters.rb', line 22

def new(*options)
  Client.new(*options)
end