Class: BridgeBankin::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/bridge_bankin/configuration.rb

Overview

Configurations setup

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Initializes Configuration



29
30
31
32
33
34
35
# File 'lib/bridge_bankin/configuration.rb', line 29

def initialize
  @api_base_url = "https://api.bridgeapi.io"
  @api_version = "2019-02-18"
  @api_client_id = ""
  @api_client_secret = ""
  @follow_pages = false
end

Instance Attribute Details

#api_base_urlObject (readonly)

Returns the value of attribute api_base_url.



23
24
25
# File 'lib/bridge_bankin/configuration.rb', line 23

def api_base_url
  @api_base_url
end

#api_client_idObject

Returns the value of attribute api_client_id.



24
25
26
# File 'lib/bridge_bankin/configuration.rb', line 24

def api_client_id
  @api_client_id
end

#api_client_secretObject

Returns the value of attribute api_client_secret.



24
25
26
# File 'lib/bridge_bankin/configuration.rb', line 24

def api_client_secret
  @api_client_secret
end

#api_versionObject (readonly)

Returns the value of attribute api_version.



23
24
25
# File 'lib/bridge_bankin/configuration.rb', line 23

def api_version
  @api_version
end

#follow_pagesObject

Returns the value of attribute follow_pages.



24
25
26
# File 'lib/bridge_bankin/configuration.rb', line 24

def follow_pages
  @follow_pages
end