1633 Commits

Author SHA1 Message Date
kiran-b
5626199c86 bumped version to 1.8.8 2013-10-08 21:13:51 -07:00
kiran-b
2970a577ba removed occasionally failing test: curl args order inconsistent 2013-10-08 21:13:44 -07:00
kiran-b
1724f85e26 tests for metadata 2013-10-08 21:01:13 -07:00
kiran-b
b52c98c9c3 added support for setting/deleting individual keys 2013-10-08 17:38:40 -07:00
Brian Collins
b02b557b74 Style tweaks 2013-10-08 13:54:39 -07:00
kiran-b
57656f6e89 update now accounts for metadata={'key' => 'val'} syntax 2013-10-08 13:54:39 -07:00
Michelle Bu
f9b13dfc2a active_card is no longer a thing 2013-10-07 10:05:59 -07:00
Lachy Groom
49724d755d Merge pull request #87 from stripe/lg-dispute-close
Ability to close disputes
v1.8.7
2013-09-19 11:06:46 -07:00
Lachy Groom
11efb1e19e update version to 1.8.7 2013-09-18 15:53:13 -07:00
Lachy Groom
a5a6c19742 update version 2013-09-18 15:48:11 -07:00
Lachy Groom
30da413efc ability to close disputes 2013-09-18 15:43:05 -07:00
Amber Feng
06c860aeea Bump version to 1.8.6. v1.8.6 2013-08-13 20:58:34 +01:00
Finbarr Taylor
0851f2a7fd Added BalanceTransaction list resource.
Added Balance singleton resource.
2013-08-13 20:53:19 +01:00
Andrew Metcalf
56d8b910f7 Bump version v1.8.5 2013-08-12 09:07:37 -07:00
Andrew Metcalf
ac70a81be1 Merge pull request #82 from stripe/am-property-deletion
Support property deletion
2013-08-12 09:01:38 -07:00
Andrew Metcalf
c0ca48f848 rename mnemonic to description 2013-08-07 09:36:54 -07:00
Andrew Metcalf
d291020a43 clean up syntax 2013-08-06 15:47:33 -07:00
Andrew Metcalf
f0ddfca71d undo whitespace change 2013-08-06 15:29:29 -07:00
Andrew Metcalf
7d2ca0dbee better error messaging 2013-08-06 15:26:22 -07:00
Andrew Metcalf
88ead09193 support unsetting parameters by passing nil and updating 2013-08-06 11:37:35 -07:00
Evan Broder
fd09e67731 Merge pull request #77 from invisiblefunnel/master
Remove duplicate gemspec entries
2013-07-15 12:21:18 -07:00
Danny Whalen
bb9b4ecf97 Remove duplicate gemspec entries 2013-07-15 12:04:18 -07:00
Evan Broder
9999a482fd Merge pull request #76 from invisiblefunnel/master
Fix misspelled instance variable name
2013-07-15 11:52:27 -07:00
Danny Whalen
c0b77e6fbf Fix reference to instance variable 2013-07-15 11:38:13 -07:00
Sheena Pakanati
664a63a4de Bump version to 1.8.4 v1.8.4 2013-07-11 17:49:03 -07:00
spakanati
1f1ebafe36 Merge pull request #75 from stripe/sp-cards
Support for new cards API
2013-07-11 17:42:56 -07:00
Sheena Pakanati
87604d945e Initial support for multiple cards. 2013-07-11 16:47:58 -07:00
Evan Broder
9b64772b7e Merge pull request #73 from timcraft/refactor-util-convert_to_stripe_object
Refactor Stripe::Util.convert_to_stripe_object method
2013-07-05 17:44:18 -07:00
Tim Craft
66be9d48dd Fix comment and use two argument form of Hash#fetch 2013-07-05 19:42:00 +01:00
Tim Craft
da6736478e Refactor Stripe::Util.convert_to_stripe_object method
* Extract hash mapping into object_classes method/ivar
* Use Hash#fetch instead of `if` and `||=`
2013-07-05 18:41:34 +01:00
Evan Broder
616b169958 Merge pull request #72 from timcraft/fix-the-build
Fix the build
2013-07-05 10:28:19 -07:00
Tim Craft
9ae705f845 Add version specifiers for activesupport/shoulda/mocha dev dependencies 2013-07-05 17:36:36 +01:00
Evan Broder
1fbce5288c Add a more helpful error message to ListObject#[]
Our list calls return their results wrapped in an object so that we
can include extra information. We use this, e.g., to include the URL
to query for more records in the Transfer#transactions sublist.

When you get a ListObject, if you want to actually manipulate it as a
list, you have to call `#data` first to get the actual underlying
list.

This adds an exception to the `#[]` method to make what's going on
clearer.

Fixes #68
2013-06-30 23:00:01 -07:00
Evan Broder
daafdb983d Fix confusion in ListObject around where api_key was coming from
Fixes #69
2013-06-30 22:34:30 -07:00
Evan Broder
c52973e7de Add a comment explaining file_readable 2013-06-29 22:46:52 -07:00
Evan Broder
2dbc700fc3 Bump version v1.8.3 2013-05-06 13:56:14 -07:00
Evan Broder
2861964755 Fix handling of per-resource API keys (fixes #67) 2013-05-06 13:53:00 -07:00
Evan Broder
aecfaa818f Bump version v1.8.2 2013-05-01 16:34:18 -07:00
Evan Broder
a95da742d4 Pass the customer-specific API key when getting the upcoming invoice 2013-05-01 15:02:34 -07:00
Evan Broder
dcb407c6d7 Merge remote-tracking branch 'origin/pull/65' 2013-05-01 14:46:23 -07:00
Evan Broder
3ab7c3253a Merge remote-tracking branch 'origin/pull/63' 2013-05-01 14:46:07 -07:00
Evan Broder
6f664422d4 Merge remote-tracking branch 'origin/pull/61' 2013-05-01 14:45:44 -07:00
Evan Broder
1b3dd625fd Merge remote-tracking branch 'origin/pull/60' 2013-05-01 14:43:44 -07:00
Evan Broder
a3884060a3 Merge remote-tracking branch 'origin/pull/58' 2013-05-01 14:38:05 -07:00
Evan Broder
c8fd610660 Merge remote-tracking branch 'origin/pull/57' 2013-05-01 14:38:03 -07:00
Evan Broder
523cdd548b Merge remote-tracking branch 'origin/pull/56' 2013-05-01 14:38:01 -07:00
Evan Broder
91c90ff43e Merge remote-tracking branch 'origin/pull/47'
Conflicts:
	lib/stripe.rb
2013-05-01 14:37:51 -07:00
Evan Broder
6b044e90ca Merge branch 'refactor'
Conflicts:
	lib/stripe.rb
2013-05-01 12:17:09 -07:00
Evan Broder
fe3eb47e60 Split out independent parts of Stripe.request and cleanup code
Make the SSL checks, user agent assembly, and request header
generation separate methods.

Also switch to class instance variables instead of class variables and
accessors instead of custom functions, and wrap lines to 80
characters.

Original patches come with thanks to Stevie Graham (with some style
fixups from me).

(fixes #53, fixes #54)
2013-05-01 12:14:29 -07:00
Brian Collins
56f9ba200f Add api_key argument to Invoice.upcoming v1.8.1 2013-04-19 13:06:17 +01:00