Sha256: ab52800cc8d6dc5baa50911387220e7e6019490b1f1c7f93a383b00e66d81ff5

Contents?: true

Size: 689 Bytes

Versions: 7

Compression:

Stored size: 689 Bytes

Contents

# frozen_string_literal: true

require 'gecko/record/base'

module Gecko
  module Record
    class Contact < Base
      belongs_to :company, writeable_on: :create

      attribute :email,        String
      attribute :first_name,   String
      attribute :last_name,    String
      attribute :location,     String
      attribute :mobile,       String
      attribute :notes,        String
      attribute :phone_number, String
      attribute :fax,          String
      attribute :position,     String

      attribute :status,       String,  readonly: true

      ## DEPRECATED
      # attribute :phone,        String
    end

    class ContactAdapter < BaseAdapter
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
gecko-ruby-0.12.3 lib/gecko/record/contact.rb
gecko-ruby-0.12.2 lib/gecko/record/contact.rb
gecko-ruby-0.12.1 lib/gecko/record/contact.rb
gecko-ruby-0.12.0 lib/gecko/record/contact.rb
gecko-ruby-0.11.1 lib/gecko/record/contact.rb
gecko-ruby-0.11.0 lib/gecko/record/contact.rb
gecko-ruby-0.10.0 lib/gecko/record/contact.rb