Module: UkrsibAPI

Defined in:
lib/ukrsib_api/resource.rb,
lib/ukrsib_api.rb,
lib/ukrsib_api/client.rb,
lib/ukrsib_api/version.rb,
lib/ukrsib_api/models/types.rb,
lib/ukrsib_api/authentication.rb,
lib/ukrsib_api/models/balance.rb,
lib/ukrsib_api/base_transformer.rb,
lib/ukrsib_api/pagination_helper.rb,
lib/ukrsib_api/models/base_struct.rb,
lib/ukrsib_api/models/statement_v3.rb,
lib/ukrsib_api/request_id_middleware.rb,
lib/ukrsib_api/resources/balance_resource.rb,
lib/ukrsib_api/models/statement_party_details.rb,
lib/ukrsib_api/resources/statements_v3_resource.rb,
lib/ukrsib_api/transformers/balance_transformer.rb,
lib/ukrsib_api/transformers/statement_v3_transformer.rb,
lib/ukrsib_api/transformers/statement_party_details_transformer.rb

Overview

typed: true

Defined Under Namespace

Modules: Models, Resources, Transformers Classes: Authentication, BaseTransformer, Client, Error, NotAuthorizedError, PaginationHelper, RequestIDMiddleware, Resource

Constant Summary collapse

VERSION =
"0.0.3"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.client_idObject

Returns the value of attribute client_id.



36
37
38
# File 'lib/ukrsib_api.rb', line 36

def client_id
  @client_id
end

.client_secretObject

Returns the value of attribute client_secret.



36
37
38
# File 'lib/ukrsib_api.rb', line 36

def client_secret
  @client_secret
end

.private_keyObject

Returns the value of attribute private_key.



36
37
38
# File 'lib/ukrsib_api.rb', line 36

def private_key
  @private_key
end

Class Method Details

.configure {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:

  • _self (UkrsibAPI)

    the object that the method was called on



38
39
40
# File 'lib/ukrsib_api.rb', line 38

def configure
  yield self
end

.loggerObject



42
43
44
# File 'lib/ukrsib_api.rb', line 42

def logger
  @@logger ||= defined?(Rails) ? Rails.logger : Logger.new($stdout, progname: "UkrsibAPI") # rubocop:disable Style/ClassVars
end