Class: Brightpearl::Config
- Inherits:
-
Object
- Object
- Brightpearl::Config
- Defined in:
- lib/brightpearl/config.rb
Instance Attribute Summary collapse
-
#account ⇒ Object
Brightpearl account.
-
#api_domain ⇒ Object
API URL base.
-
#app_ref ⇒ Object
Application specific.
-
#app_secret ⇒ Object
App secret.
-
#debug_mode ⇒ Object
Display log data for request done when true.
-
#dev_ref ⇒ Object
Developer Account.
-
#refresh_token ⇒ Object
API refresh token.
-
#token ⇒ Object
Based on authentication process.
Instance Attribute Details
#account ⇒ Object
Brightpearl account
5 6 7 |
# File 'lib/brightpearl/config.rb', line 5 def account @account end |
#api_domain ⇒ Object
API URL base. Depends on instance region. Obtained after auth process
13 14 15 |
# File 'lib/brightpearl/config.rb', line 13 def api_domain @api_domain end |
#app_ref ⇒ Object
Application specific
8 9 10 |
# File 'lib/brightpearl/config.rb', line 8 def app_ref @app_ref end |
#app_secret ⇒ Object
App secret
9 10 11 |
# File 'lib/brightpearl/config.rb', line 9 def app_secret @app_secret end |
#debug_mode ⇒ Object
Display log data for request done when true
16 17 18 |
# File 'lib/brightpearl/config.rb', line 16 def debug_mode @debug_mode end |
#dev_ref ⇒ Object
Developer Account
4 5 6 |
# File 'lib/brightpearl/config.rb', line 4 def dev_ref @dev_ref end |
#refresh_token ⇒ Object
API refresh token
14 15 16 |
# File 'lib/brightpearl/config.rb', line 14 def refresh_token @refresh_token end |
#token ⇒ Object
Based on authentication process
12 13 14 |
# File 'lib/brightpearl/config.rb', line 12 def token @token end |