Class: BrNfe::Servico::Betha::V1::BuildResponse
- Inherits:
-
BuildResponse
- Object
- ActiveModelBase
- BuildResponse
- BrNfe::Servico::Betha::V1::BuildResponse
- Defined in:
- lib/br_nfe/servico/betha/v1/build_response.rb
Instance Attribute Summary collapse
-
#hash ⇒ Object
Returns the value of attribute hash.
Attributes inherited from BuildResponse
Instance Method Summary collapse
Methods inherited from BuildResponse
#error_messages, #initialize, #response, #success?
Methods inherited from ActiveModelBase
#assign_attributes, #default_values, #initialize
Constructor Details
This class inherits a constructor from BrNfe::Servico::Betha::BuildResponse
Instance Attribute Details
#hash ⇒ Object
Returns the value of attribute hash.
6 7 8 |
# File 'lib/br_nfe/servico/betha/v1/build_response.rb', line 6 def hash @hash end |
Instance Method Details
#messages ⇒ Object
8 9 10 |
# File 'lib/br_nfe/servico/betha/v1/build_response.rb', line 8 def hash["#{nfe_method.to_s}_resposta".to_sym] end |