Class: Bskyrb::ComAtprotoAdminGetmoderationactions::GetModerationActions::Output
- Inherits:
-
Object
- Object
- Bskyrb::ComAtprotoAdminGetmoderationactions::GetModerationActions::Output
- Defined in:
- lib/bskyrb/generated_classes.rb
Instance Attribute Summary collapse
-
#actions ⇒ Object
Returns the value of attribute actions.
-
#cursor ⇒ Object
Returns the value of attribute cursor.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#actions ⇒ Object
Returns the value of attribute actions.
3760 3761 3762 |
# File 'lib/bskyrb/generated_classes.rb', line 3760 def actions @actions end |
#cursor ⇒ Object
Returns the value of attribute cursor.
3758 3759 3760 |
# File 'lib/bskyrb/generated_classes.rb', line 3758 def cursor @cursor end |
Class Method Details
.from_hash(hash) ⇒ Object
3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 |
# File 'lib/bskyrb/generated_classes.rb', line 3762 def self.from_hash(hash) # httparty-returned string-keyed hash instance = new instance.send(:cursor=, hash["cursor"]) instance.send(:actions=, hash["actions"]) instance end |
Instance Method Details
#to_h ⇒ Object
3773 3774 3775 3776 3777 3778 3779 3780 3781 |
# File 'lib/bskyrb/generated_classes.rb', line 3773 def to_h { "cursor" => cursor, "actions" => actions } end |