Class: Bskyrb::ComAtprotoRepoApplywrites::Delete

Inherits:
Object
  • Object
show all
Defined in:
lib/bskyrb/generated_classes.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#collectionObject

Returns the value of attribute collection.



1720
1721
1722
# File 'lib/bskyrb/generated_classes.rb', line 1720

def collection
  @collection
end

#rkeyObject

Returns the value of attribute rkey.



1722
1723
1724
# File 'lib/bskyrb/generated_classes.rb', line 1722

def rkey
  @rkey
end

Class Method Details

.from_hash(hash) ⇒ Object



1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
# File 'lib/bskyrb/generated_classes.rb', line 1724

def self.from_hash(hash)
  # httparty-returned string-keyed hash
  instance = new

  instance.send(:collection=, hash["collection"])

  instance.send(:rkey=, hash["rkey"])

  instance
end