Class: SoapyYandex::Request
- Inherits:
-
Object
- Object
- SoapyYandex::Request
- Defined in:
- lib/soapy_yandex/request.rb
Instance Attribute Summary collapse
-
#api_path ⇒ Object
readonly
Returns the value of attribute api_path.
Instance Method Summary collapse
-
#initialize(api_path, name, attributes) ⇒ Request
constructor
A new instance of Request.
- #to_s ⇒ Object
Constructor Details
#initialize(api_path, name, attributes) ⇒ Request
Returns a new instance of Request.
6 7 8 9 10 |
# File 'lib/soapy_yandex/request.rb', line 6 def initialize(api_path, name, attributes) @api_path = api_path @name = name @attributes = attributes end |
Instance Attribute Details
#api_path ⇒ Object (readonly)
Returns the value of attribute api_path.
4 5 6 |
# File 'lib/soapy_yandex/request.rb', line 4 def api_path @api_path end |
Instance Method Details
#to_s ⇒ Object
12 13 14 |
# File 'lib/soapy_yandex/request.rb', line 12 def to_s Ox.dump(xml, with_xml: true) end |