Class: BoaVistaStubs::Document::Response::Base

Inherits:
Object
  • Object
show all
Defined in:
app/models/boa_vista_stubs/document/response/base.rb

Direct Known Subclasses

Cnpj, Cpf

Instance Method Summary collapse

Instance Method Details

#log(message) ⇒ Object



9
10
11
# File 'app/models/boa_vista_stubs/document/response/base.rb', line 9

def log(message)
  Rails.logger.info("[BoaVistaStubs] - #{message}")
end

#read_layout(layout) ⇒ Object



5
6
7
# File 'app/models/boa_vista_stubs/document/response/base.rb', line 5

def read_layout(layout)
  BoaVista::Fixtures.read("layout_#{layout}.txt")[0]
end