diff --git a/Gemfile.lock b/Gemfile.lock index 2976a5f..c96e90f 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - civo (1.5.7) + civo (1.5.8) commander flexirest (>= 1.10.8) toml diff --git a/app/models/civo/load_balancer.rb b/app/models/civo/load_balancer.rb index 02723d9..12c403c 100644 --- a/app/models/civo/load_balancer.rb +++ b/app/models/civo/load_balancer.rb @@ -1,7 +1,7 @@ module Civo class LoadBalancer < Base - get :all, "/v2/loadbalancers", fake: :loadbalancers - get :find, "/v2/loadbalancers/:id", fake: :get_loadbalancer + get :all, "/v2/loadbalancers" + get :find, "/v2/loadbalancers/:id" post :create, "/v2/loadbalancers", required: [:hostname], fake: :get_loadbalancer put :update, "/v2/loadbalancers/:id", fake: :get_loadbalancer delete :remove, "/v2/loadbalancers/:id", required: [:id], fake: :delete_loadbalancer diff --git a/lib/civo/version.rb b/lib/civo/version.rb index 2eeff95..e472455 100644 --- a/lib/civo/version.rb +++ b/lib/civo/version.rb @@ -1,3 +1,3 @@ module Civo - VERSION = "1.5.7" + VERSION = "1.5.8" end