class Stripe::PaymentMethod

def attach(params = {}, opts = {})

def attach(params = {}, opts = {})
  resp, opts = request(:post, resource_url + "/attach", params, opts)
  Util.convert_to_stripe_object(resp.data, opts)
end

def detach(params = {}, opts = {})

def detach(params = {}, opts = {})
  resp, opts = request(:post, resource_url + "/detach", params, opts)
  Util.convert_to_stripe_object(resp.data, opts)
end