Class: DLDInternet::DOctl::API::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/dldinternet/doctl/api/base.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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(options, logger=nil)
  @options = options
  @logger  = logger
end

Instance Attribute Details

#clientObject (readonly)

Returns the value of attribute client.



106
107
108
# File 'lib/dldinternet/doctl/api/base.rb', line 106

def client
  @client
end

#loggerObject (readonly)

Returns the value of attribute logger.



106
107
108
# File 'lib/dldinternet/doctl/api/base.rb', line 106

def logger
  @logger
end

#optionsObject (readonly)

Returns the value of attribute options.



106
107
108
# File 'lib/dldinternet/doctl/api/base.rb', line 106

def options
  @options
end