sila-ruby 0.0.4 → 0.0.5

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
  SHA256:
3
- metadata.gz: 5f9c4ae950c9df1d6c7a63e17ceae2c0663bb193aff4e8283d9fdb2e632d8427
4
- data.tar.gz: b6e75add9556411b04c05a4fda5135db49f20c1bca523b949c003996b12973e7
3
+ metadata.gz: bb8e3ffdac668631af94122a009fea06c7d8bec50530e82d935837b245eeabd9
4
+ data.tar.gz: 8461312d0710fc4af76a0ce46aab12bff0275f5e7668d12fa9bba97c6d365a7a
5
5
  SHA512:
6
- metadata.gz: 8437e0e4279b07410f691c1099e8fbf47d8975f9dfd2069e76ff57add4e0082b5869eb5d1ce4306a6187421a8300510b3abf343693edcae65e8567292858c498
7
- data.tar.gz: ea98da406beba9d974e14d824af435d812e31f37fa266a8b16688de980a7499e062c7f63aa2d63982d208f7e221d07f288c56fe12ea12f61daa564c88d86b9f4
6
+ metadata.gz: 70cf6202bb63ec041d30963340dc0f87b901c23eae3f9598d7244b4d218e05fc4b2c739b5588edf21b512ad9549a11d56b99ffcb7544f5d084aa3a2e609932ed
7
+ data.tar.gz: 400587a7ecfed053f694139153ffdc0c3a1354a7a90d571fe4cc9f91a003fc3357d55889b06c0e110afe57af1044e3422cfca66f35099f35a0f5c3148482339c
data/.DS_Store ADDED
Binary file
@@ -27,9 +27,9 @@ module ApiHelpers
27
27
  module ClassMethods
28
28
 
29
29
  # --------------------------------------------
30
- # BASE-URI -----------------------------------
30
+ # SILA-URI -----------------------------------
31
31
  # --------------------------------------------
32
- def base_uri
32
+ def sila_uri
33
33
  ENV['environment'] == 'production' ? 'https://api.silamoney.com' : 'https://sandbox.silamoney.com'
34
34
  end
35
35
 
@@ -38,7 +38,7 @@ module ApiHelpers
38
38
  # --------------------------------------------
39
39
  def post_signed(api_group, header={}, message={}, params={}, user_key)
40
40
  # Set the post URL
41
- url = "#{base_uri}/0.2/#{api_group}"
41
+ url = "#{sila_uri}/0.2/#{api_group}"
42
42
  # Create the header
43
43
  header = header.merge({reference: SecureRandom.uuid, created: Time.now.to_i, auth_handle: SilaRuby.configuration.handle, version: '0.2', crypto: 'ETH'})
44
44
  # Put together the body in JSON
@@ -1,3 +1,3 @@
1
1
  module SilaRuby
2
- VERSION = '0.0.4'
2
+ VERSION = '0.0.5'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sila-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vertbase
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-09-26 00:00:00.000000000 Z
11
+ date: 2019-09-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable
@@ -157,6 +157,7 @@ executables: []
157
157
  extensions: []
158
158
  extra_rdoc_files: []
159
159
  files:
160
+ - ".DS_Store"
160
161
  - ".gitignore"
161
162
  - ".rspec"
162
163
  - Gemfile