Sha256: cd425e2a8a875ace299d34289a7bfe7d207beac7b0fbc20932c7c53662a771da

Contents?: true

Size: 327 Bytes

Versions: 2

Compression:

Stored size: 327 Bytes

Contents

# encoding: UTF-8
require 'sax-machine'

module Correios
  module SRO
    class Destination
      include SAXMachine

      element :local,  :as => :place 
      element :codigo, :as => :code
      element :cidade, :as => :city
      element :bairro, :as => :neighborhood
      element :uf,     :as => :state
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
correios-sro-xml-0.1.1 lib/correios/sro/destination.rb
correios-sro-xml-0.1.0 lib/correios/sro/destination.rb