Class: Bskyrb::AppBskyActorGetprofiles::GetProfiles::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

#actorsObject

Returns the value of attribute actors.



2162
2163
2164
# File 'lib/bskyrb/generated_classes.rb', line 2162

def actors
  @actors
end

Class Method Details

.from_hash(hash) ⇒ Object



2164
2165
2166
2167
2168
2169
2170
2171
# File 'lib/bskyrb/generated_classes.rb', line 2164

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

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

  instance
end

Instance Method Details

#to_hObject



2173
2174
2175
2176
2177
2178
2179
# File 'lib/bskyrb/generated_classes.rb', line 2173

def to_h
  {

    "actors" => actors

  }
end