ruby_mint 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 42561a5237e90022049c08135df7a1af5e9ee9f7
4
- data.tar.gz: cebbafc6bb874c9d63487982e70adc83ca6c6f4e
3
+ metadata.gz: f35663ac4c4455968a43c43629104347ac097356
4
+ data.tar.gz: c00b9cd9cf3e4eb9c54450a730cf039f3996b706
5
5
  SHA512:
6
- metadata.gz: c46009068385a016cc3ed4cbb42c4286272f234850c8ab95111fdb00d253d5a7b4b9c771aa7c2d0f75f3d3b775d6b6fbfe38b00316fdda843c78dde3ffbbd005
7
- data.tar.gz: d96c4583c9d647d2162974c96642a9bbcd62f563ef89894f733c925ec2631a70c32a91e720a27de95e4103220f3ba89256882fdaf47a9b79beb75694b537b53e
6
+ metadata.gz: 13692c620ee097e5368b4bcf0ab96cc6dd7229d3ef4f38f768e42f1c634fd871d881c6e1ef5a8f043d5ecc8b77930564700a8b46c388ed1f661abd9001294637
7
+ data.tar.gz: de2f372cdf31d425fb64eeac56db6e9caca6d366dcb526952a07b3468ecf834cc786fe71cc44171f15ed800bf91ca962ee60a99bfcbb675253fc1bf796c78a14
data/.gitignore CHANGED
@@ -7,3 +7,4 @@
7
7
  /pkg/
8
8
  /spec/reports/
9
9
  /tmp/
10
+ *.gem
@@ -1,3 +1,3 @@
1
1
  class RubyMint
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
data/lib/ruby_mint.rb CHANGED
@@ -63,7 +63,7 @@ class RubyMint
63
63
 
64
64
  # Check if user is logged in already by the presence of a token.
65
65
  #
66
- # @returns [Boolean]
66
+ # @return [Boolean]
67
67
  def logged_in?
68
68
  !@token.nil?
69
69
  end
@@ -82,7 +82,7 @@ class RubyMint
82
82
 
83
83
  # Is Mint.com in the process of refreshing its data?
84
84
  #
85
- # @returns [Boolean]
85
+ # @return [Boolean]
86
86
  def refreshing?
87
87
  response = agent.get("https://wwws.mint.com/userStatus.xevent", JSON_HEADERS)
88
88
  if response.code != "200" || !response.body.include?("isRefreshing")
@@ -95,7 +95,7 @@ class RubyMint
95
95
  # Get account data
96
96
  #
97
97
  # @param account_types [Array<String>] Type of accounts to retrieve. Defaults to all types.
98
- # @returns [Hash]
98
+ # @return [Hash]
99
99
  def accounts(account_types = ACCOUNT_TYPES)
100
100
  # Use a new request_id
101
101
  @request_id += 1
@@ -123,7 +123,7 @@ class RubyMint
123
123
  # Get transactions from mint. They are returned as CSV and include ALL
124
124
  # the transactions available
125
125
  #
126
- # @returns [String] CSV of all transactions
126
+ # @return [String] CSV of all transactions
127
127
  def transactions
128
128
  results = agent.get("https://wwws.mint.com/transactionDownload.event", JSON_HEADERS)
129
129
  raise RubyMintError.new("Unable to obtain transations.") if results.code != "200"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby_mint
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nick Marrone
@@ -123,3 +123,4 @@ signing_key:
123
123
  specification_version: 4
124
124
  summary: Retrieve your Mint.com transaction and account information.
125
125
  test_files: []
126
+ has_rdoc: