Permalink
Browse files

Merge pull request #26 from 3ft9/master

Added getBalance to the User class and bumped version to 1.5.0
  • Loading branch information...
3ft9 Ltd
3ft9 Ltd committed May 24, 2012
2 parents b909f9c + 76beeef commit 770752b79eabd6c229cfc970fda02dc6ecab6fde
Showing with 7 additions and 5 deletions.
  1. +2 −0 README.md
  2. +1 −1 VERSION
  3. +4 −4 lib/DataSift/user.rb
View
@@ -56,6 +56,8 @@ more details.
Changelog
---------
+* v.1.5.0 Added getBalance to the User class [joncooper] (2012-05-24)
+
* v.1.4.1 Fixed a minor bug in the SSL support (2012-05-15)
* v.1.4.0 Added SSL support (2012-05-15)
View
@@ -1 +1 @@
-1.4.1
+1.5.0
View
@@ -63,10 +63,10 @@ def getConsumer(type = nil, hash = nil, on_interaction = nil, on_stopped = nil)
StreamConsumer.factory(self, type, Definition.new(self, nil, hash))
end
- # Returns the account balance information for this user.
- def getBalance
- callAPI('balance')['balance']
- end
+ # Returns the account balance information for this user.
+ def getBalance
+ callAPI('balance')['balance']
+ end
# Returns the usage data for this user. If a hash is provided then a more
# detailed breakdown using interaction types is retrieved and returned.

0 comments on commit 770752b

Please sign in to comment.