Class: Hippo::Screen::Group

Inherits:
Object
  • Object
show all
Includes:
Concerns::AttrAccessorWithDefault
Defined in:
lib/hippo/screen/group.rb

Instance Method Summary collapse

Instance Method Details

#to_jsonObject


14
15
16
17
18
19
20
21
# File 'lib/hippo/screen/group.rb', line 14

def to_json
    Oj.dump({
        id: identifier,
        title: title,
        description: description,
        icon: icon
    }, mode: :compat)
end