Class: Urbit::AddGroupParser

Inherits:
GroupParser show all
Defined in:
lib/urbit/group_parser.rb

Instance Method Summary collapse

Methods inherited from GroupParser

#resource, #resource_hash

Methods inherited from Parser

#initialize

Constructor Details

This class inherits a constructor from Urbit::Parser

Instance Method Details

#groupObject



18
19
20
21
22
23
24
# File 'lib/urbit/group_parser.rb', line 18

def group
  Urbit::Group.new(path:    self.resource,
                   members: [],
                   policy:  @j["policy"],
                   tags:    [],
                   hidden:  @j["hidden"])
end