Commit Graph

18 Commits

Author SHA1 Message Date
Paul Daigle
78e7c125d2 update changelog, gemfile, and gemspec 2015-04-14 11:40:18 -04:00
Paul Daigle
48cbc9d2a1 Fix github issue #40
Both post and get requests assumed that the response from the server
would include a "data" field, which is not the case. Moved handling of
the data element back into the invoice and pairing methods.

bumped gem version to 2.4.1
2015-03-13 01:52:45 -04:00
Paul Daigle
4563a8beb2 Minor modifications to v2.4 functionality. 2015-03-05 16:01:51 -05:00
Hamish Eisler
f113cef580 correct BTC validation 2015-03-04 22:11:16 +00:00
Hamish Eisler
90b8f159db add refunds and cucumber tests with documentation 2015-03-03 01:01:19 +00:00
Paul Daigle
348f7a410e Refactor: create rest_connector module
The rest connector module moves most of the functionality of http
connection out of the client and into a module. The goal is to simplify
method calls and DRY up the code.

Changes include replacing all calls to send_request with calls to either
'get' or 'post'. process request now returns the "data" portion of the
JSON response from the server, as every method was retrieving that
separately.

removed some untested code.
2015-02-25 19:20:20 -05:00
Paul Daigle
61f9312a5b use trigger('click') for buttons' 2015-02-16 19:32:06 -05:00
Paul Daigle
55e4300f62 tweak timing and selection 2015-02-16 19:15:34 -05:00
Paul Daigle
762d31cf52 Change cucumbers to work with new dashboard 2015-02-16 18:26:45 -05:00
Hamish Eisler
c7dfbf249c changes per Paul comments 2015-02-16 09:33:20 -08:00
Hamish Eisler
953848bfde increase sleep for travis reliability 2015-02-06 13:05:05 -08:00
Hamish Eisler
b3b4eddbc6 reduce invoice amounts to work with tier 0 accounts 2015-02-05 16:23:21 -08:00
Hamish Eisler
f43ab470b8 update tests for new dashboard 2015-02-04 23:30:35 -08:00
Hamish Eisler
bf428ba0ba update tests 2015-01-30 00:27:50 +00:00
Paul Daigle
ad3a68e009 Change namespace of Client to SDK::Client
And bumps gem version, deletes redundant files, removes redundant
requires.
2015-01-07 10:46:46 -05:00
Paul Daigle
c95945e710 Remove bitpay client.
Bitpay client removed, bitpay bin for client removed.
Features modified to run with local token/key saved or not.
Rake task to clean up local files if created.
Rake task to run all tests, cucumbers, and clean up.

Move local file constants to the cucumber helper
2014-12-29 17:06:28 -05:00
Paul Daigle
3b692398e0 Modified rake task to clear everything
Both before and after cucumbers.

Improved token clearance to use mongo

Rather than relying on capybara, deletes rather than revokes.
2014-12-13 18:18:24 -05:00
Paul Daigle
558a8530b6 Add cucumber testing to bitpay library
Work done simultaneously with removing the client from the library

removed 'id' as an argument, no longer valid
2014-12-13 17:30:44 -05:00