yellow-sdk 0.0.1 → 0.0.2

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 (2) hide show
  1. data/lib/yellow-sdk/client.rb +2 -2
  2. metadata +1 -1
@@ -1,6 +1,6 @@
1
1
  module Yellow
2
2
 
3
- VERSION = "0.0.1"
3
+ VERSION = "0.0.2"
4
4
  YELLOW_SERVER = "https://" + (ENV["YELLOW_SERVER"] || "api.yellowpay.co")
5
5
 
6
6
  class YellowApiError < Exception ; end
@@ -52,7 +52,7 @@ module Yellow
52
52
  ####
53
53
 
54
54
  signature = get_signature(host_url, request_body, request_nonce, @api_secret)
55
- signature == request_signature ? return true : return false
55
+ signature == request_signature
56
56
  end
57
57
 
58
58
  private
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yellow-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: