btrade 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/btrade.rb +2 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c40cdccedf6f62810985542cc59fd68d170fb66a
4
- data.tar.gz: ba73cd5f82522d4f26694ac384b21eea5ed831aa
3
+ metadata.gz: 1b83550942ecd32c360910602d685a14a1532183
4
+ data.tar.gz: a815e0aec6fea7fb3b054569fbeb5be64626b8fa
5
5
  SHA512:
6
- metadata.gz: 5c2c3d6bee233f08dfe4ba68cf8b93a5b3e02e74c8e91cbfd386b6973a3a192c66b140a6c121abd554393bee52a1f55c2b8be04a778a5d7b52a1d488f5708878
7
- data.tar.gz: b2e69d74719fce147944a3701c2ffa27009b155621984ce228ec4b1ae904505f3aaa0a385d0944ee985bb566bfd2542873040912edc2976fc4e4a7738865a59c
6
+ metadata.gz: 29683423d919576f68876a31c45268ba1eb00fc9c5fb920aabfd0a34acb07b19a1d2076b622d7079f7553c7a6491f26be0603bcc33fbb6a1ece410a96ef7ab07
7
+ data.tar.gz: aa760982ea4ed35a113fd6e102330f2b00a7a4539237d821c927012cd33be1cb16772b124ece8d60b179b2081e3e09dfc43ea9c608a051ed520ae92c0196646f
data/lib/btrade.rb CHANGED
@@ -19,11 +19,11 @@ module Btrade
19
19
  @@consumer = OAuth::Consumer.new(consumer_key[:token], consumer_key[:secret], {:site => "https://etws.etrade.com", :http_method => :get})
20
20
  end
21
21
 
22
- def self.get_auth_url(request_token)
22
+ def get_auth_url(request_token)
23
23
  "https://us.etrade.com/e/t/etws/authorize?key=#{escape(@@consumer.key)}5&token=#{request_token.token}"
24
24
  end
25
25
 
26
- def self.get_request_token
26
+ def get_request_token
27
27
  @@consumer.get_request_token()
28
28
  end
29
29
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: btrade
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Adamson