Class: Apill::Configuration
- Inherits:
-
Object
- Object
- Apill::Configuration
- Defined in:
- lib/apill/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.
3 4 5 |
# File 'lib/apill/configuration.rb', line 3 def allowed_api_subdomains @allowed_api_subdomains end |
#allowed_subdomains ⇒ Object
Returns the value of attribute allowed_subdomains.
3 4 5 |
# File 'lib/apill/configuration.rb', line 3 def allowed_subdomains @allowed_subdomains end |
#application_name ⇒ Object
Returns the value of attribute application_name.
3 4 5 |
# File 'lib/apill/configuration.rb', line 3 def application_name @application_name end |
#default_api_version ⇒ Object
Returns the value of attribute default_api_version.
3 4 5 |
# File 'lib/apill/configuration.rb', line 3 def default_api_version @default_api_version end |
#token_private_key ⇒ Object
Returns the value of attribute token_private_key.
3 4 5 |
# File 'lib/apill/configuration.rb', line 3 def token_private_key @token_private_key end |
Instance Method Details
#to_h ⇒ Object
10 11 12 13 14 15 16 17 |
# File 'lib/apill/configuration.rb', line 10 def to_h { allowed_subdomains: allowed_subdomains, allowed_api_subdomains: allowed_api_subdomains, application_name: application_name, default_api_version: default_api_version, } end |