Sha256: 225a185b063087b8feef27b58601b8c3a0b575a27028f3c106b5d0b6daf948b0
Contents?: true
Size: 430 Bytes
Versions: 8
Compression:
Stored size: 430 Bytes
Contents
module FellowshipOne class ContributionReader < ApiReader # Constructor. # # @param contribution_id (optional) The ID of the contribution to load. def initialize(contribution_id = nil) if contribution_id.nil? @url_new_data_path = '/giving/v1/contributionreceipts/new' else @url_data_path = "/giving/v1/contributionreceipts/#{contribution_id}" end end end end
Version data entries
8 entries across 8 versions & 1 rubygems