Module: ZohoBooks

Defined in:
lib/zoho_books.rb,
lib/zoho_books/auth.rb,
lib/zoho_books/item.rb,
lib/zoho_books/error.rb,
lib/zoho_books/config.rb,
lib/zoho_books/connection.rb

Defined Under Namespace

Classes: Auth, Config, Connection, Error, Item

Constant Summary collapse

BASE_URL =
'https://www.zohoapis.eu/books/v3'

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configObject

Returns the value of attribute config.



23
24
25
# File 'lib/zoho_books/config.rb', line 23

def config
  @config
end

Class Method Details

.configure {|config| ... } ⇒ Object

Yields:



25
26
27
28
# File 'lib/zoho_books/config.rb', line 25

def configure
  self.config ||= Config.new
  yield(config)
end