Class: NfseIssnet::Responses::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/nfse_issnet/responses/base.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attributes = {}) ⇒ Base

Returns a new instance of Base.



7
8
9
10
11
# File 'lib/nfse_issnet/responses/base.rb', line 7

def initialize(attributes = {})
  attributes = default_values.merge!(attributes)
  assign_attributes(attributes)
  convert_body_to_hash
end

Instance Attribute Details

#errors_pathObject

Returns the value of attribute errors_path.



5
6
7
# File 'lib/nfse_issnet/responses/base.rb', line 5

def errors_path
  @errors_path
end

#keys_root_pathObject

Returns the value of attribute keys_root_path.



5
6
7
# File 'lib/nfse_issnet/responses/base.rb', line 5

def keys_root_path
  @keys_root_path
end

#notas_fiscais_pathObject

Returns the value of attribute notas_fiscais_path.



5
6
7
# File 'lib/nfse_issnet/responses/base.rb', line 5

def notas_fiscais_path
  @notas_fiscais_path
end

#savon_bodyObject

Returns the value of attribute savon_body.



4
5
6
# File 'lib/nfse_issnet/responses/base.rb', line 4

def savon_body
  @savon_body
end

#savon_responseObject

Returns the value of attribute savon_response.



4
5
6
# File 'lib/nfse_issnet/responses/base.rb', line 4

def savon_response
  @savon_response
end