Class: HP::Cloud::LbVersions

Inherits:
FogCollection show all
Defined in:
lib/hpcloud/lb_versions.rb

Instance Attribute Summary

Attributes inherited from FogCollection

#items, #name

Instance Method Summary collapse

Methods inherited from FogCollection

#create, #empty?, #filter, #get, #get_array, #unique

Constructor Details

#initializeLbVersions

Returns a new instance of LbVersions.



27
28
29
30
# File 'lib/hpcloud/lb_versions.rb', line 27

def initialize
  super("load balancer version")
  @items = @connection.lb.versions
end

Instance Method Details

#matches(arg, item) ⇒ Object



32
33
34
# File 'lib/hpcloud/lb_versions.rb', line 32

def matches(arg, item)
  return true
end