module Monzo
Constants
- APIError
Internal: Exception to raise on reciept of API error.
- VERSION
Public: The version number of the gem.
Public Class Methods
client()
click to toggle source
Internal: The http client to perform requests.
# File lib/monzo.rb, line 26 def self.client Monzo::Client.new(@configuration.access_token) end
configure(access_token)
click to toggle source
Public: Set the configuration options such as the accces token.
access_token - The access_token to authenticate with.
Returns: an instance of Monzo::Configuration
.
# File lib/monzo.rb, line 21 def self.configure(access_token) @configuration = Monzo::Configuration.new(access_token) end