Sha256: 9a5d45147d1feb2cee1925066e55ae944d2b2098adcae9d7f3cdfa53f9335f34

Contents?: true

Size: 249 Bytes

Versions: 55

Compression:

Stored size: 249 Bytes

Contents

# frozen_string_literal: true

require 'zoho_hub/records/base_record'

module ZohoHub
  class Campaign < BaseRecord
    attributes :id, :name

    def initialize(params)
      @id = params[:id]
      @name = params[:Campaign_Name]
    end
  end
end

Version data entries

55 entries across 55 versions & 1 rubygems

Version Path
zoho_hub-0.1.15 lib/zoho_hub/records/campaign.rb
zoho_hub-0.1.14 lib/zoho_hub/records/campaign.rb
zoho_hub-0.1.13 lib/zoho_hub/records/campaign.rb
zoho_hub-0.1.12 lib/zoho_hub/records/campaign.rb
zoho_hub-0.1.11 lib/zoho_hub/records/campaign.rb
zoho_hub-0.2.0 lib/zoho_hub/deprecated_and_only_for_reference_records/campaign.rb
zoho_hub-0.1.10 lib/zoho_hub/records/campaign.rb
zoho_hub-0.1.9 lib/zoho_hub/deprecated_and_only_for_reference_records/campaign.rb
zoho_hub-0.1.8 lib/zoho_hub/records/campaign.rb
zoho_hub-0.1.7 lib/zoho_hub/records/campaign.rb
zoho_hub-0.1.6 lib/zoho_hub/records/campaign.rb
zoho_hub-0.1.5 lib/zoho_hub/records/campaign.rb
zoho_hub-0.1.4 lib/zoho_hub/records/campaign.rb
zoho_hub-0.1.3 lib/zoho_hub/records/campaign.rb
zoho_hub-0.1.0 lib/zoho_hub/records/campaign.rb