Class: Bskyrb::ComAtprotoAdminGetinvitecodes::GetInviteCodes::Input
- Inherits:
-
Object
- Object
- Bskyrb::ComAtprotoAdminGetinvitecodes::GetInviteCodes::Input
- Defined in:
- lib/bskyrb/generated_classes.rb
Instance Attribute Summary collapse
-
#cursor ⇒ Object
Returns the value of attribute cursor.
-
#limit ⇒ Object
Returns the value of attribute limit.
-
#sort ⇒ Object
Returns the value of attribute sort.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#cursor ⇒ Object
Returns the value of attribute cursor.
3629 3630 3631 |
# File 'lib/bskyrb/generated_classes.rb', line 3629 def cursor @cursor end |
#limit ⇒ Object
Returns the value of attribute limit.
3627 3628 3629 |
# File 'lib/bskyrb/generated_classes.rb', line 3627 def limit @limit end |
#sort ⇒ Object
Returns the value of attribute sort.
3625 3626 3627 |
# File 'lib/bskyrb/generated_classes.rb', line 3625 def sort @sort end |
Class Method Details
.from_hash(hash) ⇒ Object
3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 |
# File 'lib/bskyrb/generated_classes.rb', line 3631 def self.from_hash(hash) # httparty-returned string-keyed hash instance = new instance.send(:sort=, hash["sort"]) instance.send(:limit=, hash["limit"]) instance.send(:cursor=, hash["cursor"]) instance end |
Instance Method Details
#to_h ⇒ Object
3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 |
# File 'lib/bskyrb/generated_classes.rb', line 3644 def to_h { "sort" => sort, "limit" => limit, "cursor" => cursor } end |