Class: DeltaCloud::Documentation

Inherits:
Object
  • Object
show all
Defined in:
lib/deltacloud.rb

Defined Under Namespace

Classes: OperationParameter

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Constructor Details

- (Documentation) initialize(opts = {})

A new instance of Documentation



387
388
389
390
391
# File 'lib/deltacloud.rb', line 387

def initialize(opts={})
  @description = opts[:description]
  @params = parse_parameters(opts[:params]) if opts[:params]
  self
end

Instance Attribute Details

- (Object) description (readonly)

Returns the value of attribute description



384
385
386
# File 'lib/deltacloud.rb', line 384

def description
  @description
end

- (Object) params (readonly)

Returns the value of attribute params



385
386
387
# File 'lib/deltacloud.rb', line 385

def params
  @params
end