Class: Bskyrb::ComAtprotoAdminDefs::Moderation

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#currentActionObject

Returns the value of attribute currentAction.



1423
1424
1425
# File 'lib/bskyrb/generated_classes.rb', line 1423

def currentAction
  @currentAction
end

Class Method Details

.from_hash(hash) ⇒ Object



1425
1426
1427
1428
1429
1430
1431
1432
# File 'lib/bskyrb/generated_classes.rb', line 1425

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

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

  instance
end