affiliation-api-client 0.1.0 → 0.1.1

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
  SHA1:
3
- metadata.gz: 636c404816e04bab170c033c20f92c34b8ec64c9
4
- data.tar.gz: 31a3bce6d70db572c1d7eda06325be5c756c173a
3
+ metadata.gz: 2eb094051aea91e8a01b59fd9a2b4547003fd50e
4
+ data.tar.gz: b351f9d897a60903e03d6558d1614d9522f250e6
5
5
  SHA512:
6
- metadata.gz: 188c8c9e5efcc99461628d62f7b8e90d91255b6db2a36c99ee84efdb83236dca731c41cfcfe9435e33fee2745eae13c67c4b949d5be630140059ccbfbb3ade16
7
- data.tar.gz: c678f2f75812243522e83079ea9b6c4f09c2f34e1e6ae229139262ddb4a7aca1c7eb356dd7b86ffef8d553dfc3d5850070056bb7e2c9d5edf28cefabf8273e30
6
+ metadata.gz: 9e8df740d8dada7798d18b04cceee84fd3cbe4fc0f0d55d35fab3c2847864827a4f213fe6bf04e30f78ec583a4ed626ba598a0a8cdcb2a051106e900fa2b6eda
7
+ data.tar.gz: 4b43ac421455a01ba2ced4b95ae43f0dec45e48421860e435dc7bc477ab0a05d7dea227bbba1798a67dfc2a43c775e8f27a41aac71b357d48a4e2d1f8a797ede
@@ -1,11 +1,12 @@
1
1
  require 'api-resource'
2
2
  require_relative 'affiliation-api/resource'
3
- autoload :Category, 'affiliation-api/category'
4
- autoload :Merchant, 'affiliation-api/merchant'
5
- autoload :Ad, 'affiliation-api/ad'
6
- autoload :Offer, 'affiliation-api/offer'
7
3
 
8
4
  module AffiliationApi
5
+ autoload :Category, 'affiliation-api/category'
6
+ autoload :Merchant, 'affiliation-api/merchant'
7
+ autoload :Ad, 'affiliation-api/ad'
8
+ autoload :Offer, 'affiliation-api/offer'
9
+
9
10
  def self.setup(api_key, api_secret, api_endpoint='https://affiliation.api.wizypay.com')
10
11
  AffiliationApi::Resource::base_url = api_endpoint
11
12
  AffiliationApi::Resource::with_hmac(api_key, api_secret)
@@ -1,6 +1,6 @@
1
1
  module AffiliationApi
2
- class Category < AffiliationApi::Resource
3
- attr_accessor :id,
4
- :name
5
- end
2
+ class Category < AffiliationApi::Resource
3
+ attr_accessor :id,
4
+ :name
5
+ end
6
6
  end
@@ -1,3 +1,3 @@
1
1
  module AffiliationApi
2
- VERSION = '0.1.0'
2
+ VERSION = '0.1.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: affiliation-api-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chaker Nakhli