Class: Keymaker::Request

Inherits:
Object
  • Object
show all
Extended by:
Forwardable
Defined in:
lib/keymaker/request.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(service, options) ⇒ Request

Returns a new instance of Request.



26
27
28
29
30
# File 'lib/keymaker/request.rb', line 26

def initialize(service, options)
  self.config = service.config
  self.opts = options
  self.service = service
end

Instance Attribute Details

#configObject

Returns the value of attribute config.



24
25
26
# File 'lib/keymaker/request.rb', line 24

def config
  @config
end

#optsObject

Returns the value of attribute opts.



24
25
26
# File 'lib/keymaker/request.rb', line 24

def opts
  @opts
end

#serviceObject

Returns the value of attribute service.



24
25
26
# File 'lib/keymaker/request.rb', line 24

def service
  @service
end