Sha256: e1b862c66f5a6e17892646b77428a4d4c8a306580196fdadaed2375800d240c8

Contents?: true

Size: 235 Bytes

Versions: 2

Compression:

Stored size: 235 Bytes

Contents

module Spree
  module Api
    module ApiHelpers
      mattr_reader :city_attributes

      @@city_attributes = [:id, :name, :ibge_code, :state_id]

      class << self
        ATTRIBUTES << :city_attributes
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spree_br_common-3.0.1 app/helpers/spree/api/api_helpers_decorator.rb
spree_br_common-3.0.0 app/helpers/spree/api/api_helpers_decorator.rb