Class: Bskyrb::ComAtprotoSyncRequestcrawl::RequestCrawl::Input
- Inherits:
-
Object
- Object
- Bskyrb::ComAtprotoSyncRequestcrawl::RequestCrawl::Input
- Defined in:
- lib/bskyrb/generated_classes.rb
Instance Attribute Summary collapse
-
#hostname ⇒ Object
Returns the value of attribute hostname.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#hostname ⇒ Object
Returns the value of attribute hostname.
6116 6117 6118 |
# File 'lib/bskyrb/generated_classes.rb', line 6116 def hostname @hostname end |
Class Method Details
.from_hash(hash) ⇒ Object
6118 6119 6120 6121 6122 6123 6124 6125 |
# File 'lib/bskyrb/generated_classes.rb', line 6118 def self.from_hash(hash) # httparty-returned string-keyed hash instance = new instance.send(:hostname=, hash["hostname"]) instance end |
Instance Method Details
#to_h ⇒ Object
6127 6128 6129 6130 6131 6132 6133 |
# File 'lib/bskyrb/generated_classes.rb', line 6127 def to_h { "hostname" => hostname } end |