Sha256: f171998429413f72499acfa379e6875452769d6b6197a238f4aac31ac77272da

Contents?: true

Size: 378 Bytes

Versions: 4

Compression:

Stored size: 378 Bytes

Contents

# frozen_string_literal: true

require 'zoho_hub/records/base_record'

module ZohoHub
  # Simple manual Zoho record where we just want to get the name. Something like:
  # #<ZohoHub::Campaign:0x00007fce2cc22458 @id="78265000003433063", @name="Smith & Williamson">
  class Campaign < BaseRecord
    attributes :id, :name

    attribute_translation name: :Campaign_Name
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
zoho_hub-0.4.2 examples/models/campaign.rb
zoho_hub-0.4.1 examples/models/campaign.rb
zoho_hub-0.4.0 examples/models/campaign.rb
zoho_hub-0.3.0 examples/models/campaign.rb