class Fog::Compute::Packet::PaymentMethods
Public Instance Methods
all(org_id, params = {})
click to toggle source
# File lib/fog/compute/packet/models/payment_methods.rb, line 10 def all(org_id, params = {}) response = service.list_payment_methods(org_id, params) load(response.body["payment_methods"]) end
get(id)
click to toggle source
# File lib/fog/compute/packet/models/payment_methods.rb, line 15 def get(id) response = service.get_payment_method(id) new(response.body) end