Class: RSpreedly::PaymentMethod::OnFile

Inherits:
Base
  • Object
show all
Defined in:
lib/rspreedly/payment_method.rb

Instance Attribute Summary

Attributes inherited from Base

#errors

Instance Method Summary collapse

Methods inherited from Base

api_request, #api_request, #attributes=, do_request, #initialize

Constructor Details

This class inherits a constructor from RSpreedly::Base

Instance Method Details

#to_xml(opts = nil) ⇒ Object



10
11
12
# File 'lib/rspreedly/payment_method.rb', line 10

def to_xml(opts=nil)
  "<payment> <account-type>on-file</account-type> </payment>"
end