Sha256: 3a9326a9ca7a195fc66a93b809660962ec844afbfa17474ef88f940603ef7fae
Contents?: true
Size: 256 Bytes
Versions: 2
Compression:
Stored size: 256 Bytes
Contents
# -*- encoding : utf-8 -*- module AV class Model < AV::Object def initialize(data=nil) super(self.class.to_s,data) end def self.find(object_id) self.new AV::Query.new(self.to_s).eq('objectId',object_id).first end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
leancloud-ruby-client-0.1.1 | lib/leancloud/model.rb |
leancloud-ruby-client-0.1.0 | lib/leancloud/model.rb |