Class: Fortenet::Options

Inherits:
Object
  • Object
show all
Defined in:
lib/fortenet/options.rb

Instance Method Summary collapse

Constructor Details

#initialize(options) ⇒ Options

Returns a new instance of Options.



3
4
5
# File 'lib/fortenet/options.rb', line 3

def initialize(options)
  self.options = options
end

Instance Method Details

#callObject



7
8
9
10
11
12
# File 'lib/fortenet/options.rb', line 7

def call
  {
    format: :plan,
    headers: header_settings
  }.merge(proxy_settings).merge(options)
end