payfort_start 0.0.2 → 0.0.3

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
  SHA1:
3
- metadata.gz: e07b14222462e5d347b0c583fbb63e25e3c0f4b1
4
- data.tar.gz: 35e4d5c88d29b40555a236f6009660f220bdaed1
3
+ metadata.gz: 5c695a731adfd0f2e3341a812c6679f2882e3da9
4
+ data.tar.gz: f8ebd8dbdfb9f1a5e45f0237db91d222187856e5
5
5
  SHA512:
6
- metadata.gz: 2ffdf6ef659e58f6636f26a2f128034716ea3af0887a3901fc275d3cd0c1219bd3f23c9bde3dc49fbcfe6e7bd4ebcbe25f6b1efe827ae267447eb9407a3b3189
7
- data.tar.gz: 0144cbb3cb0dbf29dc79ded94d5c31136564f0ef31dcd7dfd7d176e92bb71b0836f66b1cfa76237e44838cf969dfcad29a9fb21087ba97bc53d2e5cab3a58723
6
+ metadata.gz: d0d8c40bf5711a070266fb56a3626dbef58e1d2fd69e40c69e255097000c4322605c5b3cb04ca34fd274c42c3f35a3f835b9fcdec87ebc71aedf29b825b40721
7
+ data.tar.gz: a76f1ac3662c00369398c980408ec261995ae6979094c04d82ffc2b8255295e13c69b9bab4e4f2d44cbd44c4dbedfd6d1b6a2088a6911a5b32f88469b4828138
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- payfort_start (0.0.1)
4
+ payfort_start (0.0.2)
5
5
  httparty (~> 0.13)
6
6
  json (~> 1.8)
7
7
 
data/lib/start.rb CHANGED
@@ -1,5 +1,6 @@
1
1
  require "httparty"
2
2
  require "start/base_resource"
3
+ require "start/version"
3
4
  require "start/customer"
4
5
  require "start/charge"
5
6
  require "start/errors/start_error"
@@ -15,6 +16,8 @@ module Start
15
16
 
16
17
  ssl_ca_file File.dirname(__FILE__) + '/data/ssl-bundle.crt'
17
18
 
19
+ headers 'User-Agent' => "Start/Ruby/#{Start::VERSION}"
20
+
18
21
  def self.api_key=(value)
19
22
  default_options[:basic_auth] = {username: value, password: ''}
20
23
  end
data/lib/start/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Start
2
- VERSION = '0.0.2'
2
+ VERSION = '0.0.3'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: payfort_start
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
  - Pavel Gabriel