Class: BridgeBankin::Configuration
- Inherits:
-
Object
- Object
- BridgeBankin::Configuration
- Defined in:
- lib/bridge_bankin/configuration.rb
Overview
Configurations setup
Instance Attribute Summary collapse
-
#api_base_url ⇒ Object
readonly
Returns the value of attribute api_base_url.
-
#api_client_id ⇒ Object
Returns the value of attribute api_client_id.
-
#api_client_secret ⇒ Object
Returns the value of attribute api_client_secret.
-
#api_version ⇒ Object
readonly
Returns the value of attribute api_version.
-
#follow_pages ⇒ Object
Returns the value of attribute follow_pages.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
Initializes Configuration.
Constructor Details
#initialize ⇒ Configuration
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_url ⇒ Object (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_id ⇒ Object
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_secret ⇒ Object
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_version ⇒ Object (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_pages ⇒ Object
Returns the value of attribute follow_pages.
24 25 26 |
# File 'lib/bridge_bankin/configuration.rb', line 24 def follow_pages @follow_pages end |