Module: Corkboard::Client
- Extended by:
- ActiveSupport::Concern
- Included in:
- Corkboard::Clients::Instagram
- Defined in:
- lib/corkboard/client.rb
Overview
Client is ...
Instance Method Summary collapse
- #callback_url ⇒ Object
- #preload ⇒ Object
- #recent ⇒ Object
- #strategy ⇒ Object
- #subscribe ⇒ Object
- #subscribe_callback ⇒ Object
Instance Method Details
#callback_url ⇒ Object
14 15 16 |
# File 'lib/corkboard/client.rb', line 14 def callback_url [full_host, script_name, "/posts/#{strategy}/callback", query_string].join end |
#preload ⇒ Object
18 19 20 |
# File 'lib/corkboard/client.rb', line 18 def preload raise NotImplementedError end |
#recent ⇒ Object
22 23 24 |
# File 'lib/corkboard/client.rb', line 22 def recent raise NotImplementedError end |
#strategy ⇒ Object
10 11 12 |
# File 'lib/corkboard/client.rb', line 10 def strategy raise NotImplementedError end |
#subscribe ⇒ Object
26 27 28 |
# File 'lib/corkboard/client.rb', line 26 def subscribe(*) raise NotImplementedError end |
#subscribe_callback ⇒ Object
30 31 32 |
# File 'lib/corkboard/client.rb', line 30 def subscribe_callback callback_url end |