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 +4 -4
- data/Gemfile.lock +1 -1
- data/lib/start.rb +3 -0
- data/lib/start/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5c695a731adfd0f2e3341a812c6679f2882e3da9
|
4
|
+
data.tar.gz: f8ebd8dbdfb9f1a5e45f0237db91d222187856e5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d0d8c40bf5711a070266fb56a3626dbef58e1d2fd69e40c69e255097000c4322605c5b3cb04ca34fd274c42c3f35a3f835b9fcdec87ebc71aedf29b825b40721
|
7
|
+
data.tar.gz: a76f1ac3662c00369398c980408ec261995ae6979094c04d82ffc2b8255295e13c69b9bab4e4f2d44cbd44c4dbedfd6d1b6a2088a6911a5b32f88469b4828138
|
data/Gemfile.lock
CHANGED
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