class Vultr::PlansResource
Public Instance Methods
list(**params)
click to toggle source
# File lib/vultr/resources/plans.rb, line 3 def list(**params) response = get_request("plans", params: params) Collection.from_response(response, key: "plans", type: Plan) end
list_metal(**params)
click to toggle source
# File lib/vultr/resources/plans.rb, line 8 def list_metal(**params) response = get_request("plans-metal", params: params) Collection.from_response(response, key: "plans_metal", type: Plan) end