Class: Nfe::Helpers::UfHelper

Inherits:
Object
  • Object
show all
Defined in:
lib/nfe/helpers/uf_helper.rb

Class Method Summary collapse

Class Method Details

.acronym(code) ⇒ Object



4
5
6
# File 'lib/nfe/helpers/uf_helper.rb', line 4

def self.acronym(code)
  ufs.key(code)
end

.code(uf) ⇒ Object



8
9
10
# File 'lib/nfe/helpers/uf_helper.rb', line 8

def self.code(uf)
  ufs[uf]
end