Class: Bskyrb::AppBskyFeedGetposts::GetPosts::Input

Inherits:
Object
  • Object
show all
Defined in:
lib/bskyrb/generated_classes.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#urisObject

Returns the value of attribute uris.



2605
2606
2607
# File 'lib/bskyrb/generated_classes.rb', line 2605

def uris
  @uris
end

Class Method Details

.from_hash(hash) ⇒ Object



2607
2608
2609
2610
2611
2612
2613
2614
# File 'lib/bskyrb/generated_classes.rb', line 2607

def self.from_hash(hash)
  # httparty-returned string-keyed hash
  instance = new

  instance.send(:uris=, hash["uris"])

  instance
end

Instance Method Details

#to_hObject



2616
2617
2618
2619
2620
2621
2622
# File 'lib/bskyrb/generated_classes.rb', line 2616

def to_h
  {

    "uris" => uris

  }
end