Class: Drillbit::Configuration
- Inherits:
-
Object
- Object
- Drillbit::Configuration
- Defined in:
- lib/drillbit/configuration.rb
Instance Attribute Summary collapse
-
#allowed_api_subdomains ⇒ Object
Returns the value of attribute allowed_api_subdomains.
-
#allowed_subdomains ⇒ Object
Returns the value of attribute allowed_subdomains.
-
#application_name ⇒ Object
Returns the value of attribute application_name.
-
#default_api_version ⇒ Object
Returns the value of attribute default_api_version.
-
#token_private_key ⇒ Object
Returns the value of attribute token_private_key.
Instance Method Summary collapse
Instance Attribute Details
#allowed_api_subdomains ⇒ Object
Returns the value of attribute allowed_api_subdomains.
4 5 6 |
# File 'lib/drillbit/configuration.rb', line 4 def allowed_api_subdomains @allowed_api_subdomains end |
#allowed_subdomains ⇒ Object
Returns the value of attribute allowed_subdomains.
4 5 6 |
# File 'lib/drillbit/configuration.rb', line 4 def allowed_subdomains @allowed_subdomains end |
#application_name ⇒ Object
Returns the value of attribute application_name.
4 5 6 |
# File 'lib/drillbit/configuration.rb', line 4 def application_name @application_name end |
#default_api_version ⇒ Object
Returns the value of attribute default_api_version.
4 5 6 |
# File 'lib/drillbit/configuration.rb', line 4 def default_api_version @default_api_version end |
#token_private_key ⇒ Object
Returns the value of attribute token_private_key.
4 5 6 |
# File 'lib/drillbit/configuration.rb', line 4 def token_private_key @token_private_key end |
Instance Method Details
#to_h ⇒ Object
11 12 13 14 15 16 17 18 |
# File 'lib/drillbit/configuration.rb', line 11 def to_h { allowed_subdomains: allowed_subdomains, allowed_api_subdomains: allowed_api_subdomains, application_name: application_name, default_api_version: default_api_version, } end |