Class: Urbit::Fact::SettingsEventDelEntryFact
- Inherits:
-
SettingsEventFact
- Object
- BaseFact
- SettingsEventFact
- Urbit::Fact::SettingsEventDelEntryFact
- Defined in:
- lib/urbit/fact/settings_fact.rb
Instance Attribute Summary
Attributes inherited from BaseFact
Instance Method Summary collapse
Methods inherited from SettingsEventFact
#base_contents, #bucket, #bucket_key, #desk, #desk_name, #initialize, #to_h
Methods inherited from BaseFact
#add_ack, #create_parser, #for_this_ship?, #graph_update?, #initialize, #is_acknowledged?, #raw_json, #ship, #to_h, #to_s
Constructor Details
This class inherits a constructor from Urbit::Fact::SettingsEventFact
Instance Method Details
#accept ⇒ Object
55 56 57 |
# File 'lib/urbit/fact/settings_fact.rb', line 55 def accept self.bucket.entries.delete(self.entry) end |
#contents ⇒ Object
59 60 61 |
# File 'lib/urbit/fact/settings_fact.rb', line 59 def contents self.base_contents["del-entry"] end |
#entry ⇒ Object
63 64 65 |
# File 'lib/urbit/fact/settings_fact.rb', line 63 def entry self.contents["entry-key"] end |