Class: Bskyrb::ComAtprotoSyncGetcheckout::GetCheckout::Input
- Inherits:
-
Object
- Object
- Bskyrb::ComAtprotoSyncGetcheckout::GetCheckout::Input
- Defined in:
- lib/bskyrb/generated_classes.rb
Instance Attribute Summary collapse
-
#commit ⇒ Object
Returns the value of attribute commit.
-
#did ⇒ Object
Returns the value of attribute did.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#commit ⇒ Object
Returns the value of attribute commit.
5762 5763 5764 |
# File 'lib/bskyrb/generated_classes.rb', line 5762 def commit @commit end |
#did ⇒ Object
Returns the value of attribute did.
5760 5761 5762 |
# File 'lib/bskyrb/generated_classes.rb', line 5760 def did @did end |
Class Method Details
.from_hash(hash) ⇒ Object
5764 5765 5766 5767 5768 5769 5770 5771 5772 5773 |
# File 'lib/bskyrb/generated_classes.rb', line 5764 def self.from_hash(hash) # httparty-returned string-keyed hash instance = new instance.send(:did=, hash["did"]) instance.send(:commit=, hash["commit"]) instance end |
Instance Method Details
#to_h ⇒ Object
5775 5776 5777 5778 5779 5780 5781 5782 5783 |
# File 'lib/bskyrb/generated_classes.rb', line 5775 def to_h { "did" => did, "commit" => commit } end |