Class: Nfe::Operations::NfeSituation

Inherits:
Base
  • Object
show all
Defined in:
lib/nfe/operations/nfe_situation.rb

Instance Attribute Summary

Attributes inherited from Base

#errors, #result

Instance Method Summary collapse

Methods inherited from Base

#execute

Constructor Details

#initialize(certificate, private_key, environment, nfe_key, use_schema: true) ⇒ NfeSituation

Returns a new instance of NfeSituation.



6
7
8
9
10
11
12
# File 'lib/nfe/operations/nfe_situation.rb', line 6

def initialize(certificate, private_key, environment, nfe_key,
  use_schema: true)
  super(certificate, private_key, use_schema: use_schema)

  @nfe_key = nfe_key
  @environment = environment
end