affiliation-api-client 0.1.10 → 0.1.11

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: 90fa2eb47ce15d1ab0899ec8de34fca9757adf87
4
- data.tar.gz: 6e966c77535e392ccb10f952116103a3c2b831fa
3
+ metadata.gz: 236ee5dc46863770893a004a177dceb8faf9f3ce
4
+ data.tar.gz: 3bc29ccd28345c13009ec97c5fee3d2df1837434
5
5
  SHA512:
6
- metadata.gz: ae765d726b9f496255d49e0bc3d8af65e6a3de540edae5cef2c45f5ea384314a42b696a33cf9851d695fd00ef522d18f7427bfcd4545cb80fd3ebbea96a8b7ce
7
- data.tar.gz: f84f590ef7cd746c9fc535c8b65e3e78dd4ff1174c5883ba1edb0fe273fc6736be12cae80a8d8632e2f5e69744f8e1f2442c7b490fc95036c9723f7e98ce7298
6
+ metadata.gz: f585081077028e3536701074357a8748e16b5048b7ee3db764f0b86ba065caac726c1615d80ad1a6e82016229997aa054d64cf5250c3cf09ed757655928c2940
7
+ data.tar.gz: d03b83bc58ae1f4e0755751be2fb28e8aa81aba9ef859f4363af0cc7350f7e3b2f7c36f98186595a4b498e5bdefd77bcc2dfd968744ae8b7c33b1fc9c690740b
@@ -0,0 +1,6 @@
1
+ module AffiliationApi
2
+ class Sale < AffiliationApi::Resource
3
+ attr_accessor :id, :network_name, :reference, :date, :amount, :commission,
4
+ :currency, :status, :client_ref, :merchant_ref
5
+ end
6
+ end
@@ -1,3 +1,3 @@
1
1
  module AffiliationApi
2
- VERSION = '0.1.10'
2
+ VERSION = '0.1.11'
3
3
  end
@@ -6,7 +6,8 @@ module AffiliationApi
6
6
  autoload :Merchant, 'affiliation-api/merchant'
7
7
  autoload :Ad, 'affiliation-api/ad'
8
8
  autoload :Offer, 'affiliation-api/offer'
9
- autoload 'MerchantVersion', 'affiliation-api/merchant_version'
9
+ autoload :MerchantVersion, 'affiliation-api/merchant_version'
10
+ autoload :Sale, 'affiliation-api/sale'
10
11
 
11
12
  def self.setup(api_key, api_secret, api_endpoint='https://affiliation.api.wizypay.com')
12
13
  AffiliationApi::Resource::base_url = api_endpoint
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: affiliation-api-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.10
4
+ version: 0.1.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chaker Nakhli
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-01-13 00:00:00.000000000 Z
11
+ date: 2016-01-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: api-resource
@@ -96,6 +96,7 @@ files:
96
96
  - lib/affiliation-api/merchant_version.rb
97
97
  - lib/affiliation-api/offer.rb
98
98
  - lib/affiliation-api/resource.rb
99
+ - lib/affiliation-api/sale.rb
99
100
  - lib/affiliation-api/version.rb
100
101
  - spec/resource_spec.rb
101
102
  - spec/spec_helper.rb