Module: Trell

Extended by:
Configurable
Defined in:
lib/trell.rb,
lib/trell/error.rb,
lib/trell/client.rb,
lib/trell/version.rb,
lib/trell/client/cards.rb,
lib/trell/client/lists.rb,
lib/trell/configurable.rb,
lib/trell/client/boards.rb,
lib/trell/client/labels.rb,
lib/trell/client/tokens.rb,
lib/trell/authentication.rb,
lib/trell/client/members.rb,
lib/trell/client/organizations.rb,
lib/trell/response/raise_error.rb

Defined Under Namespace

Modules: Authentication, Configurable, Response Classes: BadGateway, BadRequest, Client, ClientError, Conflict, Error, Forbidden, InternalServerError, MissingContentType, NotAcceptable, NotFound, NotImplemented, ServerError, ServiceUnavailable, TooManyLoginAttempts, TooManyRequests, Unauthorized, UnprocessableEntity, UnsupportedMediaType

Constant Summary collapse

VERSION =
'0.0.4'

Constants included from Configurable

Configurable::OPTIONS_KEYS

Class Method Summary collapse

Methods included from Configurable

api_endpoint, configure, keys, reset!, web_endpoint

Class Method Details

.clientObject



8
9
10
11
12
13
# File 'lib/trell.rb', line 8

def client
  unless defined?(@client) && @client.same_options?(options)
    @client = Trell::Client.new(options)
  end
  @client
end