Class: Ey::Core::Client::LoadBalancers

Inherits:
Ey::Core::Collection show all
Defined in:
lib/ey-core/collections/load_balancers.rb

Instance Method Summary collapse

Methods inherited from Ey::Core::Collection

#==, #all, #collection_request, #collection_root, #create!, #each_entry, #each_page, #first, #get, #get!, #last_page, #load, #model_request, #model_root, #new_page, #next_page, #one, #page_parameters, #perform_get, #previous_page

Instance Method Details

#create(params = {}) ⇒ Object



10
11
12
13
14
15
# File 'lib/ey-core/collections/load_balancers.rb', line 10

def create(params={})
  create!(params)
  self
rescue Ey::Core::Response::Error
  false
end