Class: Printavo::User

Inherits:
Models::Base show all
Defined in:
lib/printavo/models/user.rb

Instance Method Summary collapse

Methods inherited from Models::Base

#==, #[], #dig, #initialize, #inspect, #to_h

Constructor Details

This class inherits a constructor from Printavo::Models::Base

Instance Method Details

#emailObject



9
# File 'lib/printavo/models/user.rb', line 9

def email      = self['email']

#first_nameObject



7
# File 'lib/printavo/models/user.rb', line 7

def first_name = self['firstName']

#full_nameObject



10
# File 'lib/printavo/models/user.rb', line 10

def full_name  = "#{first_name} #{last_name}".strip

#idObject



6
# File 'lib/printavo/models/user.rb', line 6

def id         = self['id']

#last_nameObject



8
# File 'lib/printavo/models/user.rb', line 8

def last_name  = self['lastName']