Class: Urbit::Fact::GroupUpdateFact
- Defined in:
- lib/urbit/fact/group_fact.rb
Direct Known Subclasses
AddGroupFact, AddGroupMemberFact, AddTagFact, InitialGroupFact, InitialGroupGroupFact, RemoveGroupMemberFact, RemoveTagFact
Instance Attribute Summary
Attributes inherited from BaseFact
Instance Method Summary collapse
-
#initialize(channel:, event:) ⇒ GroupUpdateFact
constructor
A new instance of GroupUpdateFact.
- #root_h ⇒ Object
Methods inherited from BaseFact
#add_ack, #contents, #create_parser, #for_this_ship?, #graph_update?, #is_acknowledged?, #raw_json, #ship, #to_h, #to_s
Constructor Details
#initialize(channel:, event:) ⇒ GroupUpdateFact
Returns a new instance of GroupUpdateFact.
9 10 11 |
# File 'lib/urbit/fact/group_fact.rb', line 9 def initialize(channel:, event:) super channel: channel, event: event end |
Instance Method Details
#root_h ⇒ Object
13 14 15 |
# File 'lib/urbit/fact/group_fact.rb', line 13 def root_h self.contents["json"]["groupUpdate"] end |