module Mypeople
Constants
- ConfigurationError
This error is thrown when your client has not been configured
- Error
Raise this when we hit a Trello error.
- InvalidKey
This specific error is thrown when your key is invalid. You should get a new one.
- VERSION
Public Class Methods
client()
click to toggle source
# File lib/mypeople.rb, line 28 def self.client @client ||= Client.new end
configure(&block)
click to toggle source
# File lib/mypeople.rb, line 32 def self.configure(&block) reset! client.configure(&block) end
logger()
click to toggle source
# File lib/mypeople.rb, line 20 def self.logger @logger ||= Logger.new(STDOUT) end
logger=(logger)
click to toggle source
# File lib/mypeople.rb, line 24 def self.logger=(logger) @logger = logger end
reset!()
click to toggle source
# File lib/mypeople.rb, line 37 def self.reset! @client = nil end