Class: Parse::Op::Remove
- Inherits:
-
Object
- Object
- Parse::Op::Remove
- Defined in:
- lib/parse/op/remove.rb
Instance Method Summary collapse
-
#initialize(*objects) ⇒ Remove
constructor
A new instance of Remove.
- #to_json(*args) ⇒ Object
Constructor Details
#initialize(*objects) ⇒ Remove
Returns a new instance of Remove.
4 5 6 |
# File 'lib/parse/op/remove.rb', line 4 def initialize *objects @objects = objects end |
Instance Method Details
#to_json(*args) ⇒ Object
8 9 10 |
# File 'lib/parse/op/remove.rb', line 8 def to_json *args %Q|{"__op":"Remove","objects":#{@objects.inspect}}| end |