Class: Talkable::API::Coupon
Class Method Summary collapse
Methods inherited from Base
Class Method Details
.find(code) ⇒ Object
5 6 7 |
# File 'lib/talkable/api/coupon.rb', line 5 def find(code) get "/coupons/#{code}" end |
.permission(code, email_or_username) ⇒ Object
9 10 11 |
# File 'lib/talkable/api/coupon.rb', line 9 def (code, email_or_username) get "/coupons/#{code}/permission/#{email_or_username}" end |