Module: OiApi::Client::AutoResponders
- Included in:
- OiApi::Client
- Defined in:
- lib/oi_api/client/auto_responders.rb
Instance Method Summary collapse
- #all_auto_responders(options = {}) ⇒ Object
- #auto_responder(offer_id, auto_responder_id, options = {}) ⇒ Object
- #auto_responders(offer_id, options = {}) ⇒ Object
- #create_auto_responder(offer_id, options = {}) ⇒ Object
- #update_auto_responder(offer_id, auto_responder_id, options = {}) ⇒ Object
Instance Method Details
#all_auto_responders(options = {}) ⇒ Object
7 8 9 |
# File 'lib/oi_api/client/auto_responders.rb', line 7 def all_auto_responders( = {}) get '/autoresponders/', end |
#auto_responder(offer_id, auto_responder_id, options = {}) ⇒ Object
15 16 17 |
# File 'lib/oi_api/client/auto_responders.rb', line 15 def auto_responder(offer_id, auto_responder_id, = {}) get "/offers/#{offer_id}/autoresponders/#{auto_responder_id}/", end |
#auto_responders(offer_id, options = {}) ⇒ Object
11 12 13 |
# File 'lib/oi_api/client/auto_responders.rb', line 11 def auto_responders(offer_id, = {}) get "/offers/#{offer_id}/autoresponders/", end |
#create_auto_responder(offer_id, options = {}) ⇒ Object
19 20 21 |
# File 'lib/oi_api/client/auto_responders.rb', line 19 def create_auto_responder(offer_id, = {}) post "/offers/#{offer_id}/autoresponders/", end |
#update_auto_responder(offer_id, auto_responder_id, options = {}) ⇒ Object
23 24 25 |
# File 'lib/oi_api/client/auto_responders.rb', line 23 def update_auto_responder(offer_id, auto_responder_id, = {}) put "/offers/#{offer_id}/autoresponders/#{auto_responder_id}/", end |