class JustGiving::Donation

Public Class Methods

new(id) click to toggle source
# File lib/just_giving/donation.rb, line 3
def initialize(id)
  @id = id
end

Public Instance Methods

details() click to toggle source

Get the details of a specific donation

# File lib/just_giving/donation.rb, line 8
def details
  get("v1/donation/#{@id}")
end
status() click to toggle source

Get the status of a specific donation

# File lib/just_giving/donation.rb, line 13
def status
  get("v1/donation/#{@id}/status")
end