class Mambu::Savings

Public Class Methods

create_deposit(account_id, connection, data) click to toggle source
# File lib/mambu/savings.rb, line 5
def self.create_deposit(account_id, connection, data)
  response = connection.post(
    "#{endpoint(connection)}/#{account_id}/transactions",
    camelize_hash(data)
  )
  handle_error(response)
  new(response.body)
end