Sha256: 2166dfe594183c4886f5390a3b5973894164f88b4387c6bab62910cedd3ad65b
Contents?: true
Size: 279 Bytes
Versions: 9
Compression:
Stored size: 279 Bytes
Contents
require 'open_pay_resource' class Plans < OpenPayResource def update(plan,plan_id) put(plan, "#{plan_id}") end def each_subscription(plan_id) get("#{plan_id}/subscriptions") end def all_subscriptions(plan_id) get("#{plan_id}/subscriptions") end end
Version data entries
9 entries across 9 versions & 1 rubygems