app/models/mautic/contact.rb in mautic-1.0.1 vs app/models/mautic/contact.rb in mautic-1.0.3
- old
+ new
@@ -1,7 +1,9 @@
module Mautic
class Contact < Model
+ alias_attribute :first_name, :firstname
+ alias_attribute :last_name, :lastname
def self.in(connection)
Proxy.new(connection, endpoint, default_params: { search: '!is:anonymous' })
end
def name
\ No newline at end of file