Class: Snov::GetUserLists::UserList
- Inherits:
-
Object
- Object
- Snov::GetUserLists::UserList
- Includes:
- ActiveModel::Model
- Defined in:
- lib/snov/get_user_lists.rb
Instance Attribute Summary collapse
-
#contacts ⇒ Object
Returns the value of attribute contacts.
-
#creation_date ⇒ Object
Returns the value of attribute creation_date.
-
#deletion_date ⇒ Object
Returns the value of attribute deletion_date.
-
#id ⇒ Object
Returns the value of attribute id.
-
#is_deleted ⇒ Object
Returns the value of attribute is_deleted.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
Instance Attribute Details
#contacts ⇒ Object
Returns the value of attribute contacts.
30 31 32 |
# File 'lib/snov/get_user_lists.rb', line 30 def contacts @contacts end |
#creation_date ⇒ Object
Returns the value of attribute creation_date.
31 32 33 |
# File 'lib/snov/get_user_lists.rb', line 31 def creation_date @creation_date end |
#deletion_date ⇒ Object
Returns the value of attribute deletion_date.
31 32 33 |
# File 'lib/snov/get_user_lists.rb', line 31 def deletion_date @deletion_date end |
#id ⇒ Object
Returns the value of attribute id.
30 31 32 |
# File 'lib/snov/get_user_lists.rb', line 30 def id @id end |
#is_deleted ⇒ Object
Returns the value of attribute is_deleted.
30 31 32 |
# File 'lib/snov/get_user_lists.rb', line 30 def is_deleted @is_deleted end |
#name ⇒ Object
Returns the value of attribute name.
30 31 32 |
# File 'lib/snov/get_user_lists.rb', line 30 def name @name end |
Instance Method Details
#to_h ⇒ Object
42 43 44 |
# File 'lib/snov/get_user_lists.rb', line 42 def to_h { id: id, is_deleted: is_deleted, name: name, contacts: contacts } end |