Sha256: faf169cc58a4e03f693f374337cda5f4a342855c5f5f5c6ecfdfc497d61fd513
Contents?: true
Size: 568 Bytes
Versions: 5
Compression:
Stored size: 568 Bytes
Contents
# frozen_string_literal: true $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) $LOAD_PATH.unshift(File.dirname(__FILE__)) require 'rubygems' require 'ncmb' require 'yaml' yaml = YAML.load_file(File.join(File.dirname(__FILE__), '..', 'setting.yml')) @client = NCMB.initialize( application_key: yaml['application_key'], client_key: yaml['client_key'] ) # puts @client.application_key puts @client.generate_signature(:get, '/2013-09-01/classes/TestClass', '2013-12-02T02:44:35.452Z', { where: { testKey: 'testValue' } } )
Version data entries
5 entries across 5 versions & 1 rubygems