Sha256: 37c3cb6358f93c858d5ac342b8e8f47b7cb5aa0ae8ac67d72e834828c4450caf

Contents?: true

Size: 658 Bytes

Versions: 13

Compression:

Stored size: 658 Bytes

Contents

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

13 entries across 13 versions & 1 rubygems

Version Path
gecko-ruby-0.9.1 lib/gecko/record/contact.rb
gecko-ruby-0.9.0 lib/gecko/record/contact.rb
gecko-ruby-0.8.0 lib/gecko/record/contact.rb
gecko-ruby-0.2.6 lib/gecko/record/contact.rb
gecko-ruby-0.7.1 lib/gecko/record/contact.rb
gecko-ruby-0.7.0 lib/gecko/record/contact.rb
gecko-ruby-0.6.0 lib/gecko/record/contact.rb
gecko-ruby-0.5.0 lib/gecko/record/contact.rb
gecko-ruby-0.2.5 lib/gecko/record/contact.rb
gecko-ruby-0.2.4 lib/gecko/record/contact.rb
gecko-ruby-0.2.3 lib/gecko/record/contact.rb
gecko-ruby-0.2.2 lib/gecko/record/contact.rb
gecko-ruby-0.2.0 lib/gecko/record/contact.rb