Module: Badgify

Defined in:
lib/badgify.rb,
lib/badgify/version.rb,
lib/badgify/category.rb,
lib/badgify/api_operation.rb,
lib/badgify/http_decorator.rb,
lib/badgify/errors/api_error.rb,
lib/badgify/errors/service_error.rb,
lib/badgify/errors/api_connection_error.rb,
lib/badgify/errors/authentication_error.rb,
lib/badgify/errors/invalid_request_error.rb

Defined Under Namespace

Classes: APIConnectionError, APIError, ApiOperation, AuthenticationError, Category, HttpDecorator, InvalidRequestError, ServiceError

Constant Summary collapse

VERSION =
"1.1.0"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.api_baseObject

Returns the value of attribute api_base.



21
22
23
# File 'lib/badgify.rb', line 21

def api_base
  @api_base
end

.tokenObject

Returns the value of attribute token.



21
22
23
# File 'lib/badgify.rb', line 21

def token
  @token
end

Class Method Details

.api_url(url = "") ⇒ Object



24
25
26
# File 'lib/badgify.rb', line 24

def self.api_url(url = "")
  @api_base + url
end