Sha256: 0ec228d5726664c7164a86931e2f86d2a95666673c76b6842eed01420fa46124

Contents?: true

Size: 214 Bytes

Versions: 2

Compression:

Stored size: 214 Bytes

Contents

# frozen_string_literal: true

module ActiveCampaign
  class Tag < Model # :nodoc:
    define_attributes :tag, :tagType, :description

    def create
      self.tagType ||= "contact"

      super
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ractive_campaign-0.1.6 lib/active_campaign/models/tag.rb
ractive_campaign-0.1.5 lib/active_campaign/models/tag.rb