yellow-sdk 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
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: