Class: Talkable::API::Referral
- Defined in:
- lib/talkable/api/referral.rb
Constant Summary collapse
- APPROVED =
'approved'
- VOIDED =
'voided'
- UNBLOCKED =
'unblocked'
Class Method Summary collapse
Methods inherited from Base
Class Method Details
.update(origin_slug, status) ⇒ Object
9 10 11 12 13 14 15 |
# File 'lib/talkable/api/referral.rb', line 9 def update(origin_slug, status) put "/origins/#{origin_slug}/referral", { data: { status: status } } end |