Class: Bskyrb::ComAtprotoSyncSubscriberepos::RepoOp
- Inherits:
-
Object
- Object
- Bskyrb::ComAtprotoSyncSubscriberepos::RepoOp
- Defined in:
- lib/bskyrb/generated_classes.rb
Instance Attribute Summary collapse
-
#action ⇒ Object
Returns the value of attribute action.
-
#cid ⇒ Object
Returns the value of attribute cid.
-
#path ⇒ Object
Returns the value of attribute path.
Class Method Summary collapse
Instance Attribute Details
#action ⇒ Object
Returns the value of attribute action.
2066 2067 2068 |
# File 'lib/bskyrb/generated_classes.rb', line 2066 def action @action end |
#cid ⇒ Object
Returns the value of attribute cid.
2070 2071 2072 |
# File 'lib/bskyrb/generated_classes.rb', line 2070 def cid @cid end |
#path ⇒ Object
Returns the value of attribute path.
2068 2069 2070 |
# File 'lib/bskyrb/generated_classes.rb', line 2068 def path @path end |
Class Method Details
.from_hash(hash) ⇒ Object
2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 |
# File 'lib/bskyrb/generated_classes.rb', line 2072 def self.from_hash(hash) # httparty-returned string-keyed hash instance = new instance.send(:action=, hash["action"]) instance.send(:path=, hash["path"]) instance.send(:cid=, hash["cid"]) instance end |