Class: Eet::Sender
- Inherits:
-
Object
- Object
- Eet::Sender
- Defined in:
- lib/eet/sender.rb
Instance Attribute Summary collapse
-
#message ⇒ Object
readonly
Returns the value of attribute message.
Instance Method Summary collapse
Instance Attribute Details
#message ⇒ Object (readonly)
Returns the value of attribute message.
5 6 7 |
# File 'lib/eet/sender.rb', line 5 def end |
Instance Method Details
#call(xml) ⇒ Object
7 8 9 10 11 |
# File 'lib/eet/sender.rb', line 7 def call(xml) client = Savon.client(wsdl: 'https://pg.eet.cz:443/eet/services/EETServiceSOAP/v3?wsdl', open_timeout: 2) response = client.call(:odeslani_trzby, xml: xml) response end |