module OiApi::Client::AutoResponders

Public Instance Methods

all_auto_responders(options = {}) click to toggle source
# File lib/oi_api/client/auto_responders.rb, line 7
def all_auto_responders(options = {})
  get '/autoresponders/', options
end
auto_responder(offer_id, auto_responder_id, options = {}) click to toggle source
# File lib/oi_api/client/auto_responders.rb, line 15
def auto_responder(offer_id, auto_responder_id, options = {})
  get "/offers/#{offer_id}/autoresponders/#{auto_responder_id}/", options
end
auto_responders(offer_id, options = {}) click to toggle source
# File lib/oi_api/client/auto_responders.rb, line 11
def auto_responders(offer_id, options = {})
  get "/offers/#{offer_id}/autoresponders/", options
end
create_auto_responder(offer_id, options = {}) click to toggle source
# File lib/oi_api/client/auto_responders.rb, line 19
def create_auto_responder(offer_id, options = {})
  post "/offers/#{offer_id}/autoresponders/", options
end
update_auto_responder(offer_id, auto_responder_id, options = {}) click to toggle source
# File lib/oi_api/client/auto_responders.rb, line 23
def update_auto_responder(offer_id, auto_responder_id, options = {})
  put "/offers/#{offer_id}/autoresponders/#{auto_responder_id}/", options
end