Method: Parse::Pointer#initialize
- Defined in:
- lib/parse/model/pointer.rb
#initialize(table, oid) ⇒ Pointer
A Parse pointer only requires the name of the remote Parse collection name, and the objectId of the record.
88 89 90 91 |
# File 'lib/parse/model/pointer.rb', line 88 def initialize(table, oid) @parse_class = table.to_s @id = oid.to_s end |