Class: Bskyrb::ComAtprotoAdminDefs::ActionReversal
- Inherits:
-
Object
- Object
- Bskyrb::ComAtprotoAdminDefs::ActionReversal
- Defined in:
- lib/bskyrb/generated_classes.rb
Instance Attribute Summary collapse
-
#createdAt ⇒ Object
Returns the value of attribute createdAt.
-
#createdBy ⇒ Object
Returns the value of attribute createdBy.
-
#reason ⇒ Object
Returns the value of attribute reason.
Class Method Summary collapse
Instance Attribute Details
#createdAt ⇒ Object
Returns the value of attribute createdAt.
1090 1091 1092 |
# File 'lib/bskyrb/generated_classes.rb', line 1090 def createdAt @createdAt end |
#createdBy ⇒ Object
Returns the value of attribute createdBy.
1088 1089 1090 |
# File 'lib/bskyrb/generated_classes.rb', line 1088 def createdBy @createdBy end |
#reason ⇒ Object
Returns the value of attribute reason.
1086 1087 1088 |
# File 'lib/bskyrb/generated_classes.rb', line 1086 def reason @reason end |
Class Method Details
.from_hash(hash) ⇒ Object
1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 |
# File 'lib/bskyrb/generated_classes.rb', line 1092 def self.from_hash(hash) # httparty-returned string-keyed hash instance = new instance.send(:reason=, hash["reason"]) instance.send(:createdBy=, hash["createdBy"]) instance.send(:createdAt=, hash["createdAt"]) instance end |