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.56 lib/zoho_hub/records/campaign.rb
zoho_hub-0.1.55 lib/zoho_hub/records/campaign.rb
zoho_hub-0.1.54 lib/zoho_hub/records/campaign.rb
zoho_hub-0.1.53 lib/zoho_hub/records/campaign.rb
zoho_hub-0.1.52 lib/zoho_hub/records/campaign.rb
zoho_hub-0.1.51 lib/zoho_hub/records/campaign.rb
zoho_hub-0.1.50 lib/zoho_hub/records/campaign.rb
zoho_hub-0.1.49 lib/zoho_hub/records/campaign.rb
zoho_hub-0.1.48 lib/zoho_hub/records/campaign.rb
zoho_hub-0.1.47 lib/zoho_hub/records/campaign.rb
zoho_hub-0.1.46 lib/zoho_hub/records/campaign.rb
zoho_hub-0.1.45 lib/zoho_hub/records/campaign.rb
zoho_hub-0.1.44 lib/zoho_hub/records/campaign.rb
zoho_hub-0.1.43 lib/zoho_hub/records/campaign.rb
zoho_hub-0.1.42 lib/zoho_hub/records/campaign.rb
zoho_hub-0.1.41 lib/zoho_hub/records/campaign.rb
zoho_hub-0.1.40 lib/zoho_hub/records/campaign.rb
zoho_hub-0.1.39 lib/zoho_hub/records/campaign.rb
zoho_hub-0.1.38 lib/zoho_hub/records/campaign.rb
zoho_hub-0.1.37 lib/zoho_hub/records/campaign.rb