Sha256: 334efada5748aefd97d8993bba7c11d62398bb7c4f68e6006aa97d49f9c8d8ce

Contents?: true

Size: 223 Bytes

Versions: 3

Compression:

Stored size: 223 Bytes

Contents

module Mautic
  class Contact < Model

    def self.in(connection)
      Proxy.new(connection, endpoint, default_params: { search: '!is:anonymous' })
    end

    def name
      "#{firstname} #{lastname}"
    end

  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
mautic-1.0.1 app/models/mautic/contact.rb
mautic-0.1.3 app/models/mautic/contact.rb
mautic-0.1.2 app/models/mautic/contact.rb