Method: Bskyrb::AppBskyGraphGetblocks::GetBlocks::Input.from_hash

Defined in:
lib/bskyrb/generated_classes.rb

.from_hash(hash) ⇒ Object



2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
# File 'lib/bskyrb/generated_classes.rb', line 2801

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

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

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

  instance
end