Class: ZohoHub::Product

Inherits:
BaseRecord show all
Defined in:
lib/zoho_hub/records/product.rb

Instance Method Summary collapse

Methods inherited from BaseRecord

all, attribute_translation, attributes, #attributes, #build_response, build_response, create, exists?, find, find_by, #get, get, #new_record?, post, #post, put, #put, request_path, #save, #to_params, where, zoho_key_translation

Constructor Details

#initialize(params) ⇒ Product

Returns a new instance of Product.



5
6
7
# File 'lib/zoho_hub/records/product.rb', line 5

def initialize(params)
  puts Rainbow(params).red.bright
end