lib/access/api.rb in access-2.0.28 vs lib/access/api.rb in access-2.0.29
- old
+ new
@@ -143,11 +143,17 @@
request.post("/auth", "mms", options) do |response|
MemberResponse.new(response)
end
end
- # Offer Redemptions
+ # Program
+ def find_program_provisioning_method(pcid)
+ request.get("/programs/#{pcid}", "mms") do |response|
+ ProgramResponse.new(response)
+ end
+ end
+ # Offer Redemptions
def search_offer_redemptions_by_member(member_key, options = {})
request.get("/members/#{member_key}/offer_redemptions", "report", options) do |response|
RedemptionResponse.new(response)
end
end