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.
32 33 34 |
# File 'lib/snov/get_user_lists.rb', line 32 def contacts @contacts end |
#creation_date ⇒ Object
Returns the value of attribute creation_date.
33 34 35 |
# File 'lib/snov/get_user_lists.rb', line 33 def creation_date @creation_date end |
#deletion_date ⇒ Object
Returns the value of attribute deletion_date.
33 34 35 |
# File 'lib/snov/get_user_lists.rb', line 33 def deletion_date @deletion_date end |
#id ⇒ Object
Returns the value of attribute id.
32 33 34 |
# File 'lib/snov/get_user_lists.rb', line 32 def id @id end |
#is_deleted ⇒ Object
Returns the value of attribute is_deleted.
32 33 34 |
# File 'lib/snov/get_user_lists.rb', line 32 def is_deleted @is_deleted end |
#name ⇒ Object
Returns the value of attribute name.
32 33 34 |
# File 'lib/snov/get_user_lists.rb', line 32 def name @name end |
Instance Method Details
#to_h ⇒ Object
44 45 46 |
# File 'lib/snov/get_user_lists.rb', line 44 def to_h { id: id, is_deleted: is_deleted, name: name, contacts: contacts } end |