Class: Purest::Network
Constant Summary
collapse
- GET_PARAMS =
[].freeze
Instance Method Summary
collapse
Methods inherited from APIMethods
#append_path
Methods inherited from Rest
access_method?, #authenticated?, #concat_url, #initialize, #logout, method_missing, #use_named_parameter
Constructor Details
This class inherits a constructor from Purest::Rest
Instance Method Details
#create(options = nil) ⇒ Object
13
14
15
|
# File 'lib/purest/network.rb', line 13
def create(options = nil)
super(options, 'network/vif')
end
|
#delete(options = nil) ⇒ Object
21
22
23
|
# File 'lib/purest/network.rb', line 21
def delete(options = nil)
super(options, 'network')
end
|
#get(options = nil) ⇒ Object
9
10
11
|
# File 'lib/purest/network.rb', line 9
def get(options = nil)
super(options, 'network', GET_PARAMS)
end
|
#update(options = nil) ⇒ Object
17
18
19
|
# File 'lib/purest/network.rb', line 17
def update(options = nil)
super(options, 'network')
end
|