Class: CloudParty::Nodes::IPs
- Inherits:
-
Object
- Object
- CloudParty::Nodes::IPs
- Includes:
- Context, HTTParty
- Defined in:
- lib/cloud_party/nodes/ips.rb
Instance Method Summary collapse
-
#initialize(options = nil) ⇒ IPs
constructor
A new instance of IPs.
- #list ⇒ Object
Methods included from Context
Constructor Details
#initialize(options = nil) ⇒ IPs
Returns a new instance of IPs.
16 17 18 19 |
# File 'lib/cloud_party/nodes/ips.rb', line 16 def initialize( = nil) super() @options = end |
Instance Method Details
#list ⇒ Object
21 22 23 |
# File 'lib/cloud_party/nodes/ips.rb', line 21 def list CloudParty::Responses::IPs.new(:get, '/ips', self.class.get('/ips'), @options) end |