class Sigiss::Provider
Attributes
ccm[RW]
cnpj[RW]
crc[RW]
crc_estado[RW]
senha[RW]
Public Class Methods
new(attributes = {})
click to toggle source
# File lib/sigiss/provider.rb, line 11 def initialize(attributes = {}) @ccm = attributes[:ccm] @cnpj = attributes[:cnpj] @senha = attributes[:senha] @crc = attributes[:crc] @crc_estado = attributes[:crc_estado] end
Public Instance Methods
to_cancel()
click to toggle source
# File lib/sigiss/provider.rb, line 23 def to_cancel { cnpj: @cnpj, ccm: @ccm, senha: @senha } end
to_fetch()
click to toggle source
# File lib/sigiss/provider.rb, line 19 def to_fetch { prestador_cnpj: @cnpj, prestador_ccm: @ccm } end