Module: ScormEngine::Faraday::Request

Included in:
Client
Defined in:
lib/scorm_engine/faraday/request.rb

Instance Method Summary collapse

Instance Method Details

#delete(path, options = {}) ⇒ Object



16
17
18
# File 'lib/scorm_engine/faraday/request.rb', line 16

def delete(path, options = {})
  request(:delete, path, options)
end

#get(path, options = {}) ⇒ Object



4
5
6
# File 'lib/scorm_engine/faraday/request.rb', line 4

def get(path, options = {})
  request(:get, path, options)
end

#post(path, options = {}, body = nil) ⇒ Object



8
9
10
# File 'lib/scorm_engine/faraday/request.rb', line 8

def post(path, options = {}, body = nil)
  request(:post, path, options, body)
end

#put(path, options = {}, body = nil) ⇒ Object



12
13
14
# File 'lib/scorm_engine/faraday/request.rb', line 12

def put(path, options = {}, body = nil)
  request(:put, path, options, body)
end