Class: Cb::Requests::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/cb/requests/base.rb

Instance Method Summary collapse

Constructor Details

#initialize(argument_hash) ⇒ Base

Returns a new instance of Base.



5
6
7
# File 'lib/cb/requests/base.rb', line 5

def initialize(argument_hash)
  @args = argument_hash || {}
end

Instance Method Details

#body ⇒ Object



25
26
27
# File 'lib/cb/requests/base.rb', line 25

def body
  nil
end

#endpoint_uri ⇒ Object



9
10
11
# File 'lib/cb/requests/base.rb', line 9

def endpoint_uri
  raise NotImplementedError.new __method__
end

#headers ⇒ Object



21
22
23
# File 'lib/cb/requests/base.rb', line 21

def headers
  nil
end

#http_method ⇒ Object



13
14
15
# File 'lib/cb/requests/base.rb', line 13

def http_method
  raise NotImplementedError.new __method__
end

#query ⇒ Object



17
18
19
# File 'lib/cb/requests/base.rb', line 17

def query
  nil
end