Method: Bronto::List#to_hash
- Defined in:
- lib/bronto/list.rb
#to_hash ⇒ Object
62 63 64 65 66 |
# File 'lib/bronto/list.rb', line 62 def to_hash hash = { name: name, label: label, status: status, visibility: visibility } hash[:id] = id if id.present? hash end |