Module: IesAuth::RequestDefaults

Included in:
TokenManager
Defined in:
lib/ies_auth/request_defaults.rb

Overview

TLD

Instance Method Summary collapse

Instance Method Details

#delete(*args, **kwargs) ⇒ Object



28
29
30
# File 'lib/ies_auth/request_defaults.rb', line 28

def delete(*args, **kwargs)
  Rest::Request.delete(*args, **kwargs)
end

#get(*args, **kwargs) ⇒ Object



12
13
14
# File 'lib/ies_auth/request_defaults.rb', line 12

def get(*args, **kwargs)
  Rest::Request.get(*args, **kwargs)
end

#headersObject



16
17
18
# File 'lib/ies_auth/request_defaults.rb', line 16

def headers
  ::IesAuth::DEFAULT_HEADERS.dup
end

#ies_api_url(*args, &block) ⇒ Object



8
9
10
# File 'lib/ies_auth/request_defaults.rb', line 8

def ies_api_url(*args, &block)
  IesAuth::IES.ies_api_url(*args, &block)
end

#post(*args, **kwargs) ⇒ Object



20
21
22
# File 'lib/ies_auth/request_defaults.rb', line 20

def post(*args, **kwargs)
  Rest::Request.post(*args, **kwargs)
end

#put(*args, **kwargs) ⇒ Object



24
25
26
# File 'lib/ies_auth/request_defaults.rb', line 24

def put(*args, **kwargs)
  Rest::Request.put(*args, **kwargs)
end