Class: DLDInternet::DOctl::API::Base
- Inherits:
-
Object
- Object
- DLDInternet::DOctl::API::Base
- Defined in:
- lib/dldinternet/doctl/api/base.rb
Direct Known Subclasses
Account::Get, Account::Ratelimit, Compute::Domain::Create, Compute::Domain::Delete, Compute::Domain::Get, Compute::Domain::List, Compute::Domain::Records::Create, Compute::Domain::Records::Delete, Compute::Domain::Records::List, Compute::Domain::Records::Update, NameServers::Get
Instance Attribute Summary collapse
-
#client ⇒ Object
readonly
Returns the value of attribute client.
-
#logger ⇒ Object
readonly
Returns the value of attribute logger.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize(options, logger = nil) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(options, logger = nil) ⇒ Base
Returns a new instance of Base.
112 113 114 115 |
# File 'lib/dldinternet/doctl/api/base.rb', line 112 def initialize(, logger=nil) @options = @logger = logger end |
Instance Attribute Details
#client ⇒ Object (readonly)
Returns the value of attribute client.
106 107 108 |
# File 'lib/dldinternet/doctl/api/base.rb', line 106 def client @client end |
#logger ⇒ Object (readonly)
Returns the value of attribute logger.
106 107 108 |
# File 'lib/dldinternet/doctl/api/base.rb', line 106 def logger @logger end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
106 107 108 |
# File 'lib/dldinternet/doctl/api/base.rb', line 106 def @options end |