robinhood-api 0.4 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/robinhood.rb +1 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3d0fbdabc887db5596ff5ce6a66e3f6aaddbb8a8
4
- data.tar.gz: 014f791c53faf20d4fa38c2d87d7c146eab52d42
3
+ metadata.gz: 24e63241baaddfe4dc91a7bb51e9062706b75020
4
+ data.tar.gz: 9be55ff6296269a6f49305d9e85644b7d1e3a392
5
5
  SHA512:
6
- metadata.gz: 659bc03021db7b109943d7e5609d1e2c2532de5467ff0acc8326afb290a6d9e9598d579926036772b7ba2b15664e20238a6f4f324ede1ebfce088beed640d2c1
7
- data.tar.gz: 98859191ed7a72292196d8a5cd95bcd95c45b0101cd4cb00ecc0112734ac29167154217b1fd4380225765e74e7d736c69c37ad9423476b8e4a7ff539b1393b0a
6
+ metadata.gz: a5d2ee1e482df9eb6fad2b1b504ce2eb00440d86565b8066421998ce5fc425ef33c8eb817fd040a2b10bc2eb5f9dcdf841ee0cb8fe362d2b890ff9115e1aff66
7
+ data.tar.gz: '019a63e1758790c5d4c4d5c85fed706f49a780055794679e3b4d5ade38879b03685121db92081b0c4ec6a9742620b340719a543f8329308db9912e4f7a259946'
@@ -74,7 +74,7 @@ module RobinhoodModule
74
74
  end
75
75
 
76
76
  def quote(symbol)
77
- raw_response = HTTParty.post("https://api.robinhood.com/quotes/#{symbol}/", headers: headers)
77
+ raw_response = HTTParty.get("https://api.robinhood.com/quotes/#{symbol}/", headers: headers)
78
78
  JSON.parse(raw_response.body)
79
79
  end
80
80
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: robinhood-api
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.4'
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thomas Alcala