Method: Tomba::Client#initialize
- Defined in:
- lib/tomba/client.rb
#initialize ⇒ Client
Returns a new instance of Client.
19 20 21 22 23 24 25 26 27 |
# File 'lib/tomba/client.rb', line 19 def initialize() @headers = { 'content-type' => '', 'user-agent' => RUBY_PLATFORM + ':ruby-' + RUBY_VERSION, 'x-sdk-version' => 'tomba:ruby:v1.0.1' } @endpoint = 'https://api.tomba.io/v1'; end |