galaxy-client
文件大小: unknow
源码售价: 5 个金币 积分规则     积分充值
资源说明:
### Install

Add this line to your gemfile

gem 'galaxy-client', :git => "git@github.com:demandchain/galaxy-client.git"

### Configure

Create an initializer with the following code:

Galaxy::Base.user      = "foo"

Galaxy::Base.password  = "bar"

Galaxy::Base.site      = "https://partner.offerengine.com/api/v2"


### Usage


Galaxy::User.create(:email => "foo@bar.com") # creates user with email param

user = Galaxy::User.find("abd02123")   # finds user with id

See documentation for more details:

https://github.com/demandchain/galaxy-client/wiki/Consumer-API-Doc

### Development

You'll probably save yourself a lot of pain during development if you change the Gemfile line to this:

gem 'galaxy-client', :path => '../galaxy-client'

本源码包内暂不包含可直接显示的源代码文件,请下载源码包。