class BlommingApi::Client
CLIENT ACCESS LOGIC
Attributes
access_token[R]
api_version[R]
client_id[R]
client_secret[R]
currency[RW]
instance variables, read/write
description[R]
instance variables, read-only
domain[R]
expires_in[R]
grant_type[R]
locale[RW]
instance variables, read/write
password[R]
refresh_token[R]
retry_seconds[R]
integer: number of seconds between a call and the successive in case of a retry of an API call
services[R]
survive_on_fatal_error[R]
boolean: if false, in case of exceptions, process die with exit
token_type[R]
username[R]
verbose[RW]
instance variables, read/write
Public Class Methods
new(config_filename)
click to toggle source
new
# File lib/blomming_api.rb, line 54 def initialize(config_filename) # read YAML configuration file read_config_file config_filename # authenticate client when a new client is created authenticate :initialize end