Class: CloudParty::Nodes::IPs

Inherits:
Object
  • Object
show all
Includes:
Context, HTTParty
Defined in:
lib/cloud_party/nodes/ips.rb

Instance Method Summary collapse

Methods included from Context

included

Constructor Details

#initialize(options = nil) ⇒ IPs

Returns a new instance of IPs.



15
16
17
18
# File 'lib/cloud_party/nodes/ips.rb', line 15

def initialize(options = nil)
  super()
  @options = options
end

Instance Method Details

#listObject



20
21
22
# File 'lib/cloud_party/nodes/ips.rb', line 20

def list
  CloudParty::Responses::IPs.new(:get, '/ips', self.class.get('/ips'), @options)
end