Module: Fastbill::Automatic::Services::Setpaid::ClassMethods
- Defined in:
- lib/fastbill-automatic/services/setpaid.rb
Instance Method Summary collapse
Instance Method Details
#setpaid(attributes) ⇒ Object
7 8 9 10 |
# File 'lib/fastbill-automatic/services/setpaid.rb', line 7 def setpaid(attributes) response = Fastbill::Automatic.request("#{self.name.split("::").last.downcase}.setpaid", attributes) self.new(response["RESPONSE"]) end |