Class: NLBSG::RequestBase

Inherits:
Object
  • Object
show all
Defined in:
lib/nlbsg/request.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#optionsObject

Returns the value of attribute options.



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

def options
  @options
end

Instance Method Details

#build(options) ⇒ Object



6
7
8
# File 'lib/nlbsg/request.rb', line 6

def build(options)
  options.merge(API_key: NLBSG.key)
end