Class: BrNfe::Servico::Betha::V1::BuildResponse

Inherits:
BuildResponse show all
Defined in:
lib/br_nfe/servico/betha/v1/build_response.rb

Instance Attribute Summary collapse

Attributes inherited from BuildResponse

#nfe_method

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

#hashObject

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

#messagesObject



8
9
10
# File 'lib/br_nfe/servico/betha/v1/build_response.rb', line 8

def messages
	hash["#{nfe_method.to_s}_resposta".to_sym]
end