Class: PagoPA::SOAP::Message::Institution
- Inherits:
-
Object
- Object
- PagoPA::SOAP::Message::Institution
- Defined in:
- lib/pago_pa/soap/message/institution.rb
Constant Summary collapse
- REQUIRED_ATTRIBUTES =
%i[ denominazione_beneficiario identificativo_univoco_beneficiario ].freeze
- REQUIRED_IUB =
%i[ tipo_identificativo_univoco codice_identificativo_univoco ].freeze
Instance Attribute Summary collapse
-
#attributes ⇒ Object
readonly
Returns the value of attribute attributes.
-
#iub ⇒ Object
readonly
Returns the value of attribute iub.
Instance Method Summary collapse
-
#initialize(attributes) ⇒ Institution
constructor
A new instance of Institution.
- #to_params ⇒ Object
Constructor Details
#initialize(attributes) ⇒ Institution
Returns a new instance of Institution.
18 19 20 21 22 |
# File 'lib/pago_pa/soap/message/institution.rb', line 18 def initialize(attributes) @attributes = attributes @iub = attributes[:identificativo_univoco_beneficiario] validate_attrs! end |
Instance Attribute Details
#attributes ⇒ Object (readonly)
Returns the value of attribute attributes.
15 16 17 |
# File 'lib/pago_pa/soap/message/institution.rb', line 15 def attributes @attributes end |
#iub ⇒ Object (readonly)
Returns the value of attribute iub.
16 17 18 |
# File 'lib/pago_pa/soap/message/institution.rb', line 16 def iub @iub end |
Instance Method Details
#to_params ⇒ Object
24 25 |
# File 'lib/pago_pa/soap/message/institution.rb', line 24 def to_params end |