Sha256: d69839eceba0fbd307e2541059454c7f592c44eea143889b173ce594597fc6b0

Contents?: true

Size: 593 Bytes

Versions: 8

Compression:

Stored size: 593 Bytes

Contents

# frozen_string_literal: true

module FreightKit
  # Contact is the abstract base class for all contacts.
  #
  # @!attribute company_name [String] Company name.
  # @!attribute department_name [String] Department name (like "Shipping Dept").
  # @!attribute email [String] Email.
  # @!attribute fax [String] E164 formatted fax number.
  # @!attribute name [String] Name of person.
  # @!attribute phone [String] E164 formatted phone number.
  class Contact < Model
    attr_accessor :company_name, :department, :email, :fax, :name, :phone

    alias_method :company, :company_name
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
freight_kit-0.1.11 lib/freight_kit/models/contact.rb
freight_kit-0.1.10 lib/freight_kit/models/contact.rb
freight_kit-0.1.7 lib/freight_kit/models/contact.rb
freight_kit-0.1.4 lib/freight_kit/models/contact.rb
freight_kit-0.1.3 lib/freight_kit/contact.rb
freight_kit-0.1.2 lib/freight_kit/contact.rb
freight_kit-0.1.1 lib/freight_kit/contact.rb
freight_kit-0.1.0 lib/freight_kit/contact.rb