Class: Connector

Inherits:
Object
  • Object
show all
Includes:
HTTParty
Defined in:
lib/ror_regiment/client.rb

Instance Method Summary collapse

Constructor Details

#initialize(options) ⇒ Connector

Returns a new instance of Connector.



6
7
8
9
# File 'lib/ror_regiment/client.rb', line 6

def initialize(options)
  self.class.base_uri options[:base_uri]
  self .class.headers options[:headers]
end