Class: Bskyrb::ComAtprotoAdminDefs::ActionViewCurrent
- Inherits:
-
Object
- Object
- Bskyrb::ComAtprotoAdminDefs::ActionViewCurrent
- Defined in:
- lib/bskyrb/generated_classes.rb
Instance Attribute Summary collapse
-
#action ⇒ Object
Returns the value of attribute action.
-
#id ⇒ Object
Returns the value of attribute id.
Class Method Summary collapse
Instance Attribute Details
#action ⇒ Object
Returns the value of attribute action.
1069 1070 1071 |
# File 'lib/bskyrb/generated_classes.rb', line 1069 def action @action end |
#id ⇒ Object
Returns the value of attribute id.
1067 1068 1069 |
# File 'lib/bskyrb/generated_classes.rb', line 1067 def id @id end |
Class Method Details
.from_hash(hash) ⇒ Object
1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 |
# File 'lib/bskyrb/generated_classes.rb', line 1071 def self.from_hash(hash) # httparty-returned string-keyed hash instance = new instance.send(:id=, hash["id"]) instance.send(:action=, hash["action"]) instance end |