Code Monkey home page Code Monkey logo

Comments (9)

aianus avatar aianus commented on September 28, 2024

Hi Zack,

The master branch on Github is the latest version, 2.0.0, in which we added OAuth support. This version hasn't been released to rubygems yet, which is why I suspect you're seeing this error. To install the gem from github master instead, use the following line in your Gemfile:

gem 'coinbase', :git => 'git://github.com/coinbase/coinbase-ruby.git'

Sorry about the confusion and we hope to have this version released soon. If there are any other problems with the documentation, please feel free to submit a pull request.

from coinbase-ruby.

zackshapiro avatar zackshapiro commented on September 28, 2024

Cool, thanks for the quick turnaround on this, Alex! Really appreciate it!

On Thu, May 29, 2014 at 10:42 PM, Alex Ianus [email protected]
wrote:

Hi Zack,

The master branch on Github is the latest version, 2.0.0, in which we
added OAuth support. This version hasn't been released to rubygems yet,
which is why I suspect you're seeing this error. To install the gem from
github master instead, use the following line in your Gemfile:

gem 'coinbase', :git => 'git://github.com/coinbase/coinbase-ruby.git'

Sorry about the confusion and we hope to have this version released soon.
If there are any other problems with the documentation, please feel free to
submit a pull request.


Reply to this email directly or view it on GitHub
#38 (comment)
.

from coinbase-ruby.

aianus avatar aianus commented on September 28, 2024

No problem. If you haven't already, check out the omniauth and omniauth-coinbase gems for an easy way to obtain the OAuth credentials in your rails app.

from coinbase-ruby.

zackshapiro avatar zackshapiro commented on September 28, 2024

That's just what I was looking for tooBest,
Zack

On Thu, May 29, 2014 at 11:34 PM, Alex Ianus [email protected]
wrote:

No problem. If you haven't already, check out the omniauth and omniauth-coinbase gems for an easy way to obtain the OAuth credentials in your rails app.

Reply to this email directly or view it on GitHub:
#38 (comment)

from coinbase-ruby.

zackshapiro avatar zackshapiro commented on September 28, 2024

@aianus Hey Alex, one more question for you. I'm now using both omniauth-coinbase and coinbase-ruby. I'm getting as far as approving the app and Coinbase returning me to my callback URL. So I have the code param in my URL bar. I can't figure out from the docs how to get an access_token or a refresh_token using that code.

I've been looking at this step here (Ruby example) but the client in the example is generated in a different way. In my case, the client is in middleware, as created by omniauth-coinbase.

A little confused as to how to get the user credentials that are needed here.

Btw, planning on writting a blog post on this and contributing to docs as best I can so that others have a quick and fluid experience setting up to build apps on Coinbase

from coinbase-ruby.

amacneil avatar amacneil commented on September 28, 2024

Just released coinbase-2.0.0 gem :)

from coinbase-ruby.

zackshapiro avatar zackshapiro commented on September 28, 2024

Thanks @adrianmacneil!

Hopefully you guys can help me out with the question above, would love to help out with the docs to make things a bit easier

from coinbase-ruby.

aianus avatar aianus commented on September 28, 2024

Hey @zackshapiro

We'd like to keep the GitHub issues section focused on bugs and feature requests. Could you move your question over to StackOverflow and I'll help you out there (if someone else doesn't beat me to it)? That'll also help other people now or in the future who might have the same question as you.

Thanks.

from coinbase-ruby.

zackshapiro avatar zackshapiro commented on September 28, 2024

Absolutely. I'll post something on there later today. Best,
Zack

On Sat, May 31, 2014 at 3:50 AM, Alex Ianus [email protected]
wrote:

Hey @zackshapiro
We'd like to keep the GitHub issues section focused on bugs and feature requests. Could you move your question over to StackOverflow and I'll help you out there (if someone else doesn't beat me to it)? That'll also help other people now or in the future who might have the same question as you.

Thanks.

Reply to this email directly or view it on GitHub:
#38 (comment)

from coinbase-ruby.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.