Class: Bskyrb::ComAtprotoRepoRebaserepo::RebaseRepo::Input
- Inherits:
-
Object
- Object
- Bskyrb::ComAtprotoRepoRebaserepo::RebaseRepo::Input
- Defined in:
- lib/bskyrb/generated_classes.rb
Instance Attribute Summary collapse
-
#repo ⇒ Object
Returns the value of attribute repo.
-
#swapCommit ⇒ Object
Returns the value of attribute swapCommit.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#repo ⇒ Object
Returns the value of attribute repo.
5004 5005 5006 |
# File 'lib/bskyrb/generated_classes.rb', line 5004 def repo @repo end |
#swapCommit ⇒ Object
Returns the value of attribute swapCommit.
5006 5007 5008 |
# File 'lib/bskyrb/generated_classes.rb', line 5006 def swapCommit @swapCommit end |
Class Method Details
.from_hash(hash) ⇒ Object
5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 |
# File 'lib/bskyrb/generated_classes.rb', line 5008 def self.from_hash(hash) # httparty-returned string-keyed hash instance = new instance.send(:repo=, hash["repo"]) instance.send(:swapCommit=, hash["swapCommit"]) instance end |
Instance Method Details
#to_h ⇒ Object
5019 5020 5021 5022 5023 5024 5025 5026 5027 |
# File 'lib/bskyrb/generated_classes.rb', line 5019 def to_h { "repo" => repo, "swapCommit" => swapCommit } end |