Class: RubyApiPackCloudways::Configuration
- Inherits:
-
Object
- Object
- RubyApiPackCloudways::Configuration
- Defined in:
- lib/ruby_api_pack_cloudways/configuration.rb
Instance Attribute Summary collapse
-
#api_email ⇒ Object
Returns the value of attribute api_email.
-
#api_key ⇒ Object
Returns the value of attribute api_key.
-
#api_path_token ⇒ Object
Returns the value of attribute api_path_token.
-
#api_url ⇒ Object
Returns the value of attribute api_url.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
7 8 9 10 11 12 |
# File 'lib/ruby_api_pack_cloudways/configuration.rb', line 7 def initialize @api_url = 'https://api.cloudways.com/api/v1' @api_path_token = '/oauth/access_token' @api_email = nil @api_key = nil end |
Instance Attribute Details
#api_email ⇒ Object
Returns the value of attribute api_email.
5 6 7 |
# File 'lib/ruby_api_pack_cloudways/configuration.rb', line 5 def api_email @api_email end |
#api_key ⇒ Object
Returns the value of attribute api_key.
5 6 7 |
# File 'lib/ruby_api_pack_cloudways/configuration.rb', line 5 def api_key @api_key end |
#api_path_token ⇒ Object
Returns the value of attribute api_path_token.
5 6 7 |
# File 'lib/ruby_api_pack_cloudways/configuration.rb', line 5 def api_path_token @api_path_token end |
#api_url ⇒ Object
Returns the value of attribute api_url.
5 6 7 |
# File 'lib/ruby_api_pack_cloudways/configuration.rb', line 5 def api_url @api_url end |