Class: Talkable::API::Share
Constant Summary collapse
- CHANNEL_FACEBOOK =
"facebook".freeze
- CHANNEL_FACEBOOK_MESSAGE =
"facebook_message".freeze
- CHANNEL_TWITTER =
"twitter".freeze
- CHANNEL_SMS =
"sms".freeze
- CHANNEL_OTHER =
"other".freeze
Class Method Summary collapse
Methods inherited from Base
Class Method Details
.create(short_url_code, channel) ⇒ Object
11 12 13 14 15 |
# File 'lib/talkable/api/share.rb', line 11 def create(short_url_code, channel) post "/offers/#{short_url_code}/shares", { channel: channel, } end |