Class: Tomba::Service

Inherits:
Object
  • Object
show all
Defined in:
lib/tomba/service.rb

Overview

Base service class.

All Tomba service classes inherit from this base class, which provides access to the API client.

Instance Method Summary collapse

Constructor Details

#initialize(client) ⇒ Service

Initialize the service with a Tomba client.

Parameters:



12
13
14
# File 'lib/tomba/service.rb', line 12

def initialize(client)
  @client = client
end