class Ammado::Beneficiary

api.ammado.com/#BeneficiaryEndpoint

Public Class Methods

find(id) click to toggle source
# File lib/ammado/beneficiary.rb, line 6
def self.find(id)
  code, response = api.get('/v1/beneficiary/' + id.to_s, { apiKey: api.key })
  return new(response) if code == '200'
end