Class: BaseResource

Inherits:
Object
  • Object
show all
Defined in:
lib/pvdgm-bs-client/base_resource.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(opts) ⇒ BaseResource

Returns a new instance of BaseResource.



11
12
13
14
# File 'lib/pvdgm-bs-client/base_resource.rb', line 11

def initialize(opts)
  @options = opts
  @prompter = HighLine.new
end

Instance Attribute Details

#optionsObject (readonly)

Returns the value of attribute options.



9
10
11
# File 'lib/pvdgm-bs-client/base_resource.rb', line 9

def options
  @options
end

#prompterObject (readonly)

Returns the value of attribute prompter.



9
10
11
# File 'lib/pvdgm-bs-client/base_resource.rb', line 9

def prompter
  @prompter
end