vauchar_api 0.1.1 → 0.1.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '0591d688bea72df334e2c414d9a31993ce37ef9ceb8870d5299c33cdca499022'
4
- data.tar.gz: 60d4e3a42d4b35be233fab594e78843c132eace77112774b15e8acc658f503d8
3
+ metadata.gz: de9ad783b851e7efc3ca676479686d67d423222bbc534809a7db1419804d7d16
4
+ data.tar.gz: 5e403ee02e73275c72556ad14eabff501c04134d2e1c8e6f3162644112a60b8c
5
5
  SHA512:
6
- metadata.gz: a326a155354a834479f40880b210fb139efb5892e8bf90b30fed45dbdf02c7af2eb6908f868cb37a1f49d348a632af6e2d4d816c64e175c1918ec79b37d454e7
7
- data.tar.gz: 970b8a1f6ee7ce02a55c718c891c09df020ddf86a62510734ba659b2b6f4f7740246d5fcb4bbeac6daedc1e764ebca5dc05d7dc53e702e02b761842c75adbfec
6
+ metadata.gz: 64208e57af86116b2a5baf7268dbcf8c03485a4c3a01bcdb58c46b153f931c609d7ad7caed0624976fc5d2d0cb8ef5e196526912471fdf4f7124cdbaa4d6f8d0
7
+ data.tar.gz: 89dca416c9335b2964be2c8579b0e04e507941f1ab20bf2d831b736b8799755dafcc5f44b7ca8aa02af3c12b9df562d9bf97895db3e903a3d2ef85456d94d39f
data/README.md CHANGED
@@ -22,7 +22,16 @@ Or install it yourself as:
22
22
 
23
23
  ## Usage
24
24
 
25
- TODO: Write usage instructions here
25
+ Somewhere in your application (probably as part of a new initializer) you should add the following:
26
+
27
+ ```ruby
28
+ require 'vauchar_api'
29
+
30
+ VaucharAPI.config do |config|
31
+ config.merchant_id = "your merchant id"
32
+ config.api_key = "your api key"
33
+ end
34
+ ```
26
35
 
27
36
  ## Development
28
37
 
@@ -32,7 +41,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
32
41
 
33
42
  ## Contributing
34
43
 
35
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/vauchar_api.
44
+ Bug reports and pull requests are welcome on GitHub at https://github.com/Max0325/vauchar_api.
36
45
 
37
46
  ## License
38
47
 
@@ -1,3 +1,3 @@
1
1
  module VaucharAPI
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
data/lib/vauchar_api.rb CHANGED
@@ -1,12 +1,9 @@
1
- require "http_logger"
2
1
  require "vauchar_api/configuration"
3
2
  require "vauchar_api/version"
4
3
 
5
4
  require "active_resource"
6
5
  require "active_resource/formats_ext"
7
6
 
8
- HttpLogger.log_request_body = true
9
-
10
7
  module VaucharAPI
11
8
  def self.config
12
9
  yield Configuration
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vauchar_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Max
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-02-25 00:00:00.000000000 Z
11
+ date: 2019-02-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler