Sha256: 1ac2b0f6ee4cd39de5727854f75ada636e99edb6701bbfc7a52a2cd8ff85d40c
Contents?: true
Size: 706 Bytes
Versions: 28
Compression:
Stored size: 706 Bytes
Contents
require 'rubygems' require 'bundler/setup' require 'typhoeus' require 'json' require './lib/logical_model' class User < LogicalModel #class << self; attr_accessor :base_uri end self.hydra = Typhoeus::Hydra.new self.use_ssl = false #(Rails.env=="production") self.resource_path = "/api/v1/users" self.attribute_keys = [:id, :name, :email, :password, :bio] self.use_api_key = false #self.api_key_name = "token" #self.api_key = "8c330b5d70f86ebfa6497c901b299b79afc6d68c60df6df0bda0180d3777eb4a5528924ac96cf58a25e599b4110da3c4b690fa29263714ec6604b6cb2d943656" self.host = "localhost:3000" self.log_path = "logs/development.log" TIMEOUT = 5500 # miliseconds PER_PAGE = 9999 end
Version data entries
28 entries across 28 versions & 1 rubygems