Class: Bskyrb::ComAtprotoAdminGetrepo::GetRepo::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

#didObject

Returns the value of attribute did.



3943
3944
3945
# File 'lib/bskyrb/generated_classes.rb', line 3943

def did
  @did
end

Class Method Details

.from_hash(hash) ⇒ Object



3945
3946
3947
3948
3949
3950
3951
3952
# File 'lib/bskyrb/generated_classes.rb', line 3945

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

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

  instance
end

Instance Method Details

#to_hObject



3954
3955
3956
3957
3958
3959
3960
# File 'lib/bskyrb/generated_classes.rb', line 3954

def to_h
  {

    "did" => did

  }
end