Sha256: 5a1ad330d283099444383cbe1d978cc500e151628a9e533fdfff699fbe3e770b
Contents?: true
Size: 562 Bytes
Versions: 1
Compression:
Stored size: 562 Bytes
Contents
module MangoPay # In order to make an expense you need to get a list of expense sites and then redirect a user to ExpenseURL. # When the user selects a product and pays, you will be notified about an expense through the notification mechanism. class Expense < MangoPay::Ressource # Get an expense # # * *Args* : # - +expense_id+ -> The id of the expense you want to retrieve # * *Returns* : # - An expense object # def self.get(expense_id) get_request(File.join('expenses', expense_id.to_s)) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mangopay-2.0.0 | lib/mangopay/expense.rb |