Class: Bskyrb::ComAtprotoAdminDefs::ModerationDetail
- Inherits:
-
Object
- Object
- Bskyrb::ComAtprotoAdminDefs::ModerationDetail
- Defined in:
- lib/bskyrb/generated_classes.rb
Instance Attribute Summary collapse
-
#actions ⇒ Object
Returns the value of attribute actions.
-
#currentAction ⇒ Object
Returns the value of attribute currentAction.
-
#reports ⇒ Object
Returns the value of attribute reports.
Class Method Summary collapse
Instance Attribute Details
#actions ⇒ Object
Returns the value of attribute actions.
1440 1441 1442 |
# File 'lib/bskyrb/generated_classes.rb', line 1440 def actions @actions end |
#currentAction ⇒ Object
Returns the value of attribute currentAction.
1438 1439 1440 |
# File 'lib/bskyrb/generated_classes.rb', line 1438 def currentAction @currentAction end |
#reports ⇒ Object
Returns the value of attribute reports.
1442 1443 1444 |
# File 'lib/bskyrb/generated_classes.rb', line 1442 def reports @reports end |
Class Method Details
.from_hash(hash) ⇒ Object
1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 |
# File 'lib/bskyrb/generated_classes.rb', line 1444 def self.from_hash(hash) # httparty-returned string-keyed hash instance = new instance.send(:currentAction=, hash["currentAction"]) instance.send(:actions=, hash["actions"]) instance.send(:reports=, hash["reports"]) instance end |