Class: CompaniesHouseInputGateway::Forms::FormConfirmationStatement
- Inherits:
-
FormAbstractBuilder
- Object
- FormAbstractBuilder
- CompaniesHouseInputGateway::Forms::FormConfirmationStatement
- Defined in:
- lib/companies_house_input_gateway/forms/form_confirmation_statement.rb
Instance Attribute Summary
Attributes inherited from FormAbstractBuilder
Instance Method Summary collapse
Methods inherited from FormAbstractBuilder
#generate_xml_from_incoming_data, #initialize
Constructor Details
This class inherits a constructor from CompaniesHouseInputGateway::Forms::FormAbstractBuilder
Instance Method Details
#build_form(request_type, requested_form = nil) ⇒ Object
6 7 8 |
# File 'lib/companies_house_input_gateway/forms/form_confirmation_statement.rb', line 6 def build_form(request_type, requested_form = nil) generate_xml_from_incoming_data(data, request_type, requested_form, true) end |
#form_namespace ⇒ Object
10 11 12 13 14 15 16 17 18 |
# File 'lib/companies_house_input_gateway/forms/form_confirmation_statement.rb', line 10 def form_namespace { 'xmlns' => 'http://xmlgw.companieshouse.gov.uk', 'xmlns:xsi' => 'http://www.w3.org/2001/XMLSchema-instance', 'xsi:schemaLocation' => 'http://xmlgw.companieshouse.gov.uk http://xmlgw.companieshouse.gov.uk/v1-0/schema/forms/ConfirmationStatement-v1-2.xsd' } end |