Class: Bskyrb::ComAtprotoRepoDescriberepo::DescribeRepo::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

#repoObject

Returns the value of attribute repo.



4682
4683
4684
# File 'lib/bskyrb/generated_classes.rb', line 4682

def repo
  @repo
end

Class Method Details

.from_hash(hash) ⇒ Object



4684
4685
4686
4687
4688
4689
4690
4691
# File 'lib/bskyrb/generated_classes.rb', line 4684

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

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

  instance
end

Instance Method Details

#to_hObject



4693
4694
4695
4696
4697
4698
4699
# File 'lib/bskyrb/generated_classes.rb', line 4693

def to_h
  {

    "repo" => repo

  }
end