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.



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

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.



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

def config
  @config
end

#optsObject

Returns the value of attribute opts.



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

def opts
  @opts
end

#serviceObject

Returns the value of attribute service.



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

def service
  @service
end