Sha256: 67605b1d7a312d38a97db5c213af9a01075ddc72675236868376389150df0420
Contents?: true
Size: 749 Bytes
Versions: 5
Compression:
Stored size: 749 Bytes
Contents
ncmb-ruby-client ================ A simple Ruby client for the nifty cloud mobile backend REST API Basic Usage ----------- ``` NCMB.initialize application_key: application_key, client_key: client_key @todo = NCMB::DataStore.new 'Todo' @todo = @todo.limit(20).count(1).skip(0) puts "@todo[0].name #{@todo[0].name}" ``` ### Register push notification ``` NCMB.initialize application_key: application_key, client_key: client_key @push = NCMB::Push.new @push.immediateDeliveryFlag = true @push.target = ['ios'] @push.message = "This is test message" @push.deliveryExpirationTime = "3 day" if @push.save puts "Push save successful." else puts "Push save faild." end ``` [ニフティクラウド mobile backend](http://mb.cloud.nifty.com/)
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
ncmb-ruby-client-0.0.6 | README.md |
ncmb-ruby-client-0.0.5 | README.md |
ncmb-ruby-client-0.0.4 | README.md |
ncmb-ruby-client-0.0.3 | README.md |
ncmb-ruby-client-0.0.2 | README.md |