mastercard_installmentsnonfi 0.0.1 → 0.0.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 +4 -4
 - data/lib/mastercard/api/installmentsnonfi/{calculateinstallmentdata.rb → eligibilityandcalculator.rb} +5 -5
 - data/lib/mastercard/api/installmentsnonfi/{createinstallmentplan.rb → eligibilityandinstallmentplan.rb} +5 -5
 - data/lib/mastercard/api/installmentsnonfi/resourceconfig.rb +1 -1
 - data/lib/mastercard_installmentsnonfi.rb +2 -2
 - metadata +4 -4
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA1:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: 4b612cd2ed061d454ecdb901153d21d0440c848d
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 87664782f09bbdfc512bf8c500be3ca9073a04d4
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 1025217067299e7df40fc3850e7f61479018d36b17e15375902d339e152cbf4af55cc16cfd4da11b68ba94b8d2b84eb0da5b172199800dcf9d7f9261b85b4223
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 39dc2ea982748c1dd8deccfe48753f5ef97b142efe966c51a5126a1ab0396802082bfaa03d3bc288587795d577defad8ad1c5775f59667b1d6c5dbcb3f015f3b
         
     | 
| 
         @@ -31,12 +31,12 @@ require "mastercard/core/model" 
     | 
|
| 
       31 
31 
     | 
    
         
             
            module MasterCard
         
     | 
| 
       32 
32 
     | 
    
         
             
                module API
         
     | 
| 
       33 
33 
     | 
    
         
             
                    module InstallmentsNonFi
         
     | 
| 
       34 
     | 
    
         
            -
                        class  
     | 
| 
      
 34 
     | 
    
         
            +
                        class EligibilityAndCalculator < MasterCard::Core::Model::BaseObject
         
     | 
| 
       35 
35 
     | 
    
         
             
                            include MasterCard::Core::Model
         
     | 
| 
       36 
36 
     | 
    
         
             
                            #
         
     | 
| 
       37 
37 
     | 
    
         | 
| 
       38 
38 
     | 
    
         
             
                            @__store = {
         
     | 
| 
       39 
     | 
    
         
            -
                                ' 
     | 
| 
      
 39 
     | 
    
         
            +
                                '062845e7-4aa7-40d6-a830-b0f1af9c283c' => OperationConfig.new("/installmentapi/service/{:env}/v1/calculateInstalment", "create", [], []),
         
     | 
| 
       40 
40 
     | 
    
         | 
| 
       41 
41 
     | 
    
         
             
                            }
         
     | 
| 
       42 
42 
     | 
    
         | 
| 
         @@ -57,12 +57,12 @@ module MasterCard 
     | 
|
| 
       57 
57 
     | 
    
         | 
| 
       58 
58 
     | 
    
         
             
                            def self.create(mapObj)
         
     | 
| 
       59 
59 
     | 
    
         
             
                                #
         
     | 
| 
       60 
     | 
    
         
            -
                                #Creates object of type  
     | 
| 
      
 60 
     | 
    
         
            +
                                #Creates object of type EligibilityAndCalculator
         
     | 
| 
       61 
61 
     | 
    
         
             
                                #
         
     | 
| 
       62 
62 
     | 
    
         
             
                                #@param Dict mapObj, containing the required parameters to create a new object
         
     | 
| 
       63 
     | 
    
         
            -
                                #@return  
     | 
| 
      
 63 
     | 
    
         
            +
                                #@return EligibilityAndCalculator of the response of created instance.
         
     | 
| 
       64 
64 
     | 
    
         
             
                                #
         
     | 
| 
       65 
     | 
    
         
            -
                                return self.execute(" 
     | 
| 
      
 65 
     | 
    
         
            +
                                return self.execute("062845e7-4aa7-40d6-a830-b0f1af9c283c", EligibilityAndCalculator.new(mapObj))
         
     | 
| 
       66 
66 
     | 
    
         
             
                            end
         
     | 
| 
       67 
67 
     | 
    
         | 
| 
       68 
68 
     | 
    
         | 
| 
         @@ -31,12 +31,12 @@ require "mastercard/core/model" 
     | 
|
| 
       31 
31 
     | 
    
         
             
            module MasterCard
         
     | 
| 
       32 
32 
     | 
    
         
             
                module API
         
     | 
| 
       33 
33 
     | 
    
         
             
                    module InstallmentsNonFi
         
     | 
| 
       34 
     | 
    
         
            -
                        class  
     | 
| 
      
 34 
     | 
    
         
            +
                        class EligibilityAndInstallmentPlan < MasterCard::Core::Model::BaseObject
         
     | 
| 
       35 
35 
     | 
    
         
             
                            include MasterCard::Core::Model
         
     | 
| 
       36 
36 
     | 
    
         
             
                            #
         
     | 
| 
       37 
37 
     | 
    
         | 
| 
       38 
38 
     | 
    
         
             
                            @__store = {
         
     | 
| 
       39 
     | 
    
         
            -
                                ' 
     | 
| 
      
 39 
     | 
    
         
            +
                                'e2573083-c635-4649-889f-9a476d61646f' => OperationConfig.new("/installmentapi/service/{:env}/v1/processInstalment", "create", [], []),
         
     | 
| 
       40 
40 
     | 
    
         | 
| 
       41 
41 
     | 
    
         
             
                            }
         
     | 
| 
       42 
42 
     | 
    
         | 
| 
         @@ -57,12 +57,12 @@ module MasterCard 
     | 
|
| 
       57 
57 
     | 
    
         | 
| 
       58 
58 
     | 
    
         
             
                            def self.create(mapObj)
         
     | 
| 
       59 
59 
     | 
    
         
             
                                #
         
     | 
| 
       60 
     | 
    
         
            -
                                #Creates object of type  
     | 
| 
      
 60 
     | 
    
         
            +
                                #Creates object of type EligibilityAndInstallmentPlan
         
     | 
| 
       61 
61 
     | 
    
         
             
                                #
         
     | 
| 
       62 
62 
     | 
    
         
             
                                #@param Dict mapObj, containing the required parameters to create a new object
         
     | 
| 
       63 
     | 
    
         
            -
                                #@return  
     | 
| 
      
 63 
     | 
    
         
            +
                                #@return EligibilityAndInstallmentPlan of the response of created instance.
         
     | 
| 
       64 
64 
     | 
    
         
             
                                #
         
     | 
| 
       65 
     | 
    
         
            -
                                return self.execute(" 
     | 
| 
      
 65 
     | 
    
         
            +
                                return self.execute("e2573083-c635-4649-889f-9a476d61646f", EligibilityAndInstallmentPlan.new(mapObj))
         
     | 
| 
       66 
66 
     | 
    
         
             
                            end
         
     | 
| 
       67 
67 
     | 
    
         | 
| 
       68 
68 
     | 
    
         | 
| 
         @@ -1,4 +1,4 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            require 'mastercard_api_core'
         
     | 
| 
       2 
     | 
    
         
            -
            require 'mastercard/api/installmentsnonfi/ 
     | 
| 
      
 2 
     | 
    
         
            +
            require 'mastercard/api/installmentsnonfi/eligibilityandinstallmentplan'
         
     | 
| 
      
 3 
     | 
    
         
            +
            require 'mastercard/api/installmentsnonfi/eligibilityandcalculator'
         
     | 
| 
       3 
4 
     | 
    
         
             
            require 'mastercard/api/installmentsnonfi/resourceconfig'
         
     | 
| 
       4 
     | 
    
         
            -
            require 'mastercard/api/installmentsnonfi/calculateinstallmentdata'
         
     | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,14 +1,14 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: mastercard_installmentsnonfi
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 0.0. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 0.0.2
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - MasterCard Worldwide
         
     | 
| 
       8 
8 
     | 
    
         
             
            autorequire: 
         
     | 
| 
       9 
9 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       10 
10 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       11 
     | 
    
         
            -
            date: 2016-12- 
     | 
| 
      
 11 
     | 
    
         
            +
            date: 2016-12-16 00:00:00.000000000 Z
         
     | 
| 
       12 
12 
     | 
    
         
             
            dependencies:
         
     | 
| 
       13 
13 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       14 
14 
     | 
    
         
             
              name: mastercard_api_core
         
     | 
| 
         @@ -51,8 +51,8 @@ executables: [] 
     | 
|
| 
       51 
51 
     | 
    
         
             
            extensions: []
         
     | 
| 
       52 
52 
     | 
    
         
             
            extra_rdoc_files: []
         
     | 
| 
       53 
53 
     | 
    
         
             
            files:
         
     | 
| 
       54 
     | 
    
         
            -
            - lib/mastercard/api/installmentsnonfi/ 
     | 
| 
       55 
     | 
    
         
            -
            - lib/mastercard/api/installmentsnonfi/ 
     | 
| 
      
 54 
     | 
    
         
            +
            - lib/mastercard/api/installmentsnonfi/eligibilityandcalculator.rb
         
     | 
| 
      
 55 
     | 
    
         
            +
            - lib/mastercard/api/installmentsnonfi/eligibilityandinstallmentplan.rb
         
     | 
| 
       56 
56 
     | 
    
         
             
            - lib/mastercard/api/installmentsnonfi/resourceconfig.rb
         
     | 
| 
       57 
57 
     | 
    
         
             
            - lib/mastercard_installmentsnonfi.rb
         
     | 
| 
       58 
58 
     | 
    
         
             
            homepage: https://developer.mastercard.com
         
     |