Class: Datawow::Moderation
- Inherits:
-
Object
- Object
- Datawow::Moderation
- Includes:
- Datawow::Models::Interface
- Defined in:
- lib/datawow/models/moderation.rb
Overview
:nodoc:
Instance Attribute Summary collapse
-
#project_key ⇒ Object
writeonly
Sets the attribute project_key.
Instance Method Summary collapse
-
#initialize(token = nil) ⇒ Moderation
constructor
A new instance of Moderation.
Methods included from Datawow::Models::Interface
Constructor Details
#initialize(token = nil) ⇒ Moderation
Returns a new instance of Moderation.
10 11 12 13 14 |
# File 'lib/datawow/models/moderation.rb', line 10 def initialize(token = nil) @project_key = token @type = :moderation @path = 'moderations' end |
Instance Attribute Details
#project_key=(value) ⇒ Object (writeonly)
Sets the attribute project_key
8 9 10 |
# File 'lib/datawow/models/moderation.rb', line 8 def project_key=(value) @project_key = value end |