zuora4r 1.0.8 → 1.0.9
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.
- data/Rakefile +1 -1
 - data/lib/zuora/ZUORA.rb +3 -1
 - data/lib/zuora/ZUORAMappingRegistry.rb +4 -2
 - data/lib/zuora_client.rb +2 -2
 - data/zuora4r.gemspec +2 -2
 - metadata +4 -4
 
    
        data/Rakefile
    CHANGED
    
    
    
        data/lib/zuora/ZUORA.rb
    CHANGED
    
    | 
         @@ -440,8 +440,9 @@ class PaymentMethod < ZObject 
     | 
|
| 
       440 
440 
     | 
    
         
             
              attr_accessor :paypalEmail
         
     | 
| 
       441 
441 
     | 
    
         
             
              attr_accessor :type
         
     | 
| 
       442 
442 
     | 
    
         
             
              attr_accessor :updatedDate
         
     | 
| 
      
 443 
     | 
    
         
            +
              attr_accessor :numConsecutiveFailures
         
     | 
| 
       443 
444 
     | 
    
         | 
| 
       444 
     | 
    
         
            -
              def initialize(fieldsToNull = [], id = nil, accountId = nil, achAbaCode = nil, achAccountName = nil, achAccountNumber = nil, achAccountNumberMask = nil, achAccountType = nil, achBankName = nil, active = nil, createdDate = nil, creditCardAddress1 = nil, creditCardAddress2 = nil, creditCardCity = nil, creditCardCountry = nil, creditCardExpirationMonth = nil, creditCardExpirationYear = nil, creditCardHolderName = nil, creditCardMaskNumber = nil, creditCardNumber = nil, creditCardPostalCode = nil, creditCardState = nil, creditCardType = nil, lastTransactionDateTime = nil, lastTransactionStatus = nil, name = nil, paypalBaid = nil, paypalEmail = nil, type = nil, updatedDate = nil)
         
     | 
| 
      
 445 
     | 
    
         
            +
              def initialize(fieldsToNull = [], id = nil, accountId = nil, achAbaCode = nil, achAccountName = nil, achAccountNumber = nil, achAccountNumberMask = nil, achAccountType = nil, achBankName = nil, active = nil, createdDate = nil, creditCardAddress1 = nil, creditCardAddress2 = nil, creditCardCity = nil, creditCardCountry = nil, creditCardExpirationMonth = nil, creditCardExpirationYear = nil, creditCardHolderName = nil, creditCardMaskNumber = nil, creditCardNumber = nil, creditCardPostalCode = nil, creditCardState = nil, creditCardType = nil, lastTransactionDateTime = nil, lastTransactionStatus = nil, name = nil, paypalBaid = nil, paypalEmail = nil, type = nil, updatedDate = nil, numConsecutiveFailures = nil)
         
     | 
| 
       445 
446 
     | 
    
         
             
                @fieldsToNull = fieldsToNull
         
     | 
| 
       446 
447 
     | 
    
         
             
                @id = id
         
     | 
| 
       447 
448 
     | 
    
         
             
                @accountId = accountId
         
     | 
| 
         @@ -472,6 +473,7 @@ class PaymentMethod < ZObject 
     | 
|
| 
       472 
473 
     | 
    
         
             
                @paypalEmail = paypalEmail
         
     | 
| 
       473 
474 
     | 
    
         
             
                @type = type
         
     | 
| 
       474 
475 
     | 
    
         
             
                @updatedDate = updatedDate
         
     | 
| 
      
 476 
     | 
    
         
            +
                @numConsecutiveFailures = numConsecutiveFailures
         
     | 
| 
       475 
477 
     | 
    
         
             
              end
         
     | 
| 
       476 
478 
     | 
    
         
             
            end
         
     | 
| 
       477 
479 
     | 
    
         | 
| 
         @@ -215,7 +215,8 @@ module DefaultMappingRegistry 
     | 
|
| 
       215 
215 
     | 
    
         
             
                  ["paypalBaid", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "PaypalBaid")], [0, 1]],
         
     | 
| 
       216 
216 
     | 
    
         
             
                  ["paypalEmail", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "PaypalEmail")], [0, 1]],
         
     | 
| 
       217 
217 
     | 
    
         
             
                  ["type", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "Type")], [0, 1]],
         
     | 
| 
       218 
     | 
    
         
            -
                  ["updatedDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsObjectApiZuoraCom, "UpdatedDate")], [0, 1]]
         
     | 
| 
      
 218 
     | 
    
         
            +
                  ["updatedDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsObjectApiZuoraCom, "UpdatedDate")], [0, 1]],
         
     | 
| 
      
 219 
     | 
    
         
            +
                  ["numConsecutiveFailures", ["SOAP::SOAPInt", XSD::QName.new(NsObjectApiZuoraCom, "NumConsecutiveFailures")], [0, 1]]
         
     | 
| 
       219 
220 
     | 
    
         
             
                ]
         
     | 
| 
       220 
221 
     | 
    
         
             
              )
         
     | 
| 
       221 
222 
     | 
    
         | 
| 
         @@ -801,7 +802,8 @@ module DefaultMappingRegistry 
     | 
|
| 
       801 
802 
     | 
    
         
             
                  ["paypalBaid", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "PaypalBaid")], [0, 1]],
         
     | 
| 
       802 
803 
     | 
    
         
             
                  ["paypalEmail", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "PaypalEmail")], [0, 1]],
         
     | 
| 
       803 
804 
     | 
    
         
             
                  ["type", ["SOAP::SOAPString", XSD::QName.new(NsObjectApiZuoraCom, "Type")], [0, 1]],
         
     | 
| 
       804 
     | 
    
         
            -
                  ["updatedDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsObjectApiZuoraCom, "UpdatedDate")], [0, 1]]
         
     | 
| 
      
 805 
     | 
    
         
            +
                  ["updatedDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsObjectApiZuoraCom, "UpdatedDate")], [0, 1]],
         
     | 
| 
      
 806 
     | 
    
         
            +
                  ["numConsecutiveFailures", ["SOAP::SOAPInt", XSD::QName.new(NsObjectApiZuoraCom, "NumConsecutiveFailures")], [0, 1]]
         
     | 
| 
       805 
807 
     | 
    
         
             
                ]
         
     | 
| 
       806 
808 
     | 
    
         
             
              )
         
     | 
| 
       807 
809 
     | 
    
         | 
    
        data/lib/zuora_client.rb
    CHANGED
    
    | 
         @@ -43,8 +43,8 @@ end 
     | 
|
| 
       43 
43 
     | 
    
         | 
| 
       44 
44 
     | 
    
         | 
| 
       45 
45 
     | 
    
         
             
            class ZuoraClient
         
     | 
| 
       46 
     | 
    
         
            -
              PROD_URL = 'https://www.zuora.com/apps/services/a/ 
     | 
| 
       47 
     | 
    
         
            -
              SANDBOX_URL = 'https://apisandbox.zuora.com/apps/services/a/ 
     | 
| 
      
 46 
     | 
    
         
            +
              PROD_URL = 'https://www.zuora.com/apps/services/a/28.0'
         
     | 
| 
      
 47 
     | 
    
         
            +
              SANDBOX_URL = 'https://apisandbox.zuora.com/apps/services/a/28.0'
         
     | 
| 
       48 
48 
     | 
    
         | 
| 
       49 
49 
     | 
    
         
             
              def initialize(username, password, url=PROD_URL)
         
     | 
| 
       50 
50 
     | 
    
         
             
                $ZUORA_USER = username
         
     | 
    
        data/zuora4r.gemspec
    CHANGED
    
    | 
         @@ -5,11 +5,11 @@ 
     | 
|
| 
       5 
5 
     | 
    
         | 
| 
       6 
6 
     | 
    
         
             
            Gem::Specification.new do |s|
         
     | 
| 
       7 
7 
     | 
    
         
             
              s.name = %q{zuora4r}
         
     | 
| 
       8 
     | 
    
         
            -
              s.version = "1.0. 
     | 
| 
      
 8 
     | 
    
         
            +
              s.version = "1.0.9"
         
     | 
| 
       9 
9 
     | 
    
         | 
| 
       10 
10 
     | 
    
         
             
              s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
         
     | 
| 
       11 
11 
     | 
    
         
             
              s.authors = ["Cloocher"]
         
     | 
| 
       12 
     | 
    
         
            -
              s.date = %q{2011- 
     | 
| 
      
 12 
     | 
    
         
            +
              s.date = %q{2011-02-16}
         
     | 
| 
       13 
13 
     | 
    
         
             
              s.description = %q{A client for Zuora API}
         
     | 
| 
       14 
14 
     | 
    
         
             
              s.email = %q{gene@ning.com}
         
     | 
| 
       15 
15 
     | 
    
         
             
              s.executables = ["zuora-query", "zuora-create", "zuora-update", "zuora-bill-run", "zuora-payment-run", "zuora-delete", "zq"]
         
     | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,13 +1,13 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification 
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: zuora4r
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version 
         
     | 
| 
       4 
     | 
    
         
            -
              hash:  
     | 
| 
      
 4 
     | 
    
         
            +
              hash: 5
         
     | 
| 
       5 
5 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       6 
6 
     | 
    
         
             
              segments: 
         
     | 
| 
       7 
7 
     | 
    
         
             
              - 1
         
     | 
| 
       8 
8 
     | 
    
         
             
              - 0
         
     | 
| 
       9 
     | 
    
         
            -
              -  
     | 
| 
       10 
     | 
    
         
            -
              version: 1.0. 
     | 
| 
      
 9 
     | 
    
         
            +
              - 9
         
     | 
| 
      
 10 
     | 
    
         
            +
              version: 1.0.9
         
     | 
| 
       11 
11 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       12 
12 
     | 
    
         
             
            authors: 
         
     | 
| 
       13 
13 
     | 
    
         
             
            - Cloocher
         
     | 
| 
         @@ -15,7 +15,7 @@ autorequire: 
     | 
|
| 
       15 
15 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       16 
16 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       17 
17 
     | 
    
         | 
| 
       18 
     | 
    
         
            -
            date: 2011- 
     | 
| 
      
 18 
     | 
    
         
            +
            date: 2011-02-16 00:00:00 -08:00
         
     | 
| 
       19 
19 
     | 
    
         
             
            default_executable: 
         
     | 
| 
       20 
20 
     | 
    
         
             
            dependencies: 
         
     | 
| 
       21 
21 
     | 
    
         
             
            - !ruby/object:Gem::Dependency 
         
     |