Class: Bskyrb::ComAtprotoServerCreateapppassword::CreateAppPassword::Input
- Inherits:
-
Object
- Object
- Bskyrb::ComAtprotoServerCreateapppassword::CreateAppPassword::Input
- Defined in:
- lib/bskyrb/generated_classes.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
5154 5155 5156 |
# File 'lib/bskyrb/generated_classes.rb', line 5154 def name @name end |
Class Method Details
.from_hash(hash) ⇒ Object
5156 5157 5158 5159 5160 5161 5162 5163 |
# File 'lib/bskyrb/generated_classes.rb', line 5156 def self.from_hash(hash) # httparty-returned string-keyed hash instance = new instance.send(:name=, hash["name"]) instance end |
Instance Method Details
#to_h ⇒ Object
5165 5166 5167 5168 5169 5170 5171 |
# File 'lib/bskyrb/generated_classes.rb', line 5165 def to_h { "name" => name } end |