Sha256: d9e8213da2e312ad08f1ad68dc70963dd7072136147c6642f479db89c5ee7cd3

Contents?: true

Size: 422 Bytes

Versions: 4

Compression:

Stored size: 422 Bytes

Contents

module KashflowApi
    class NominalCode < KashflowApi::SoapObject  
        def self.all
            result = KashflowApi.api.get_nominal_codes
            codes = []
            result.basic_hash["soap:Envelope"]["soap:Body"]["GetNominalCodesResponse"]["GetNominalCodesResult"]["NominalCode"].each do |code|
                codes.push(self.build_from_soap(code))
            end
            codes
        end
    end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
kashflow_api-0.0.2 lib/kashflow_api/models/nominal_code.rb
kashflow_api-0.0.1 lib/kashflow_api/models/nominal_code.rb
kashflow_api-0.0.1rc1 lib/kashflow_api/models/nominal_code.rb
kashflow_api-0.0.1pre lib/kashflow_api/models/nominal_code.rb