Class: Yandex::Disk::Client::Request::Publication::AttributesParser
- Inherits:
-
Nokogiri::XML::SAX::Document
- Object
- Nokogiri::XML::SAX::Document
- Yandex::Disk::Client::Request::Publication::AttributesParser
- Defined in:
- lib/yandex/disk/client/request/publication.rb
Instance Attribute Summary collapse
-
#public_url ⇒ Object
readonly
Returns the value of attribute public_url.
Instance Method Summary collapse
Instance Attribute Details
#public_url ⇒ Object (readonly)
Returns the value of attribute public_url.
29 30 31 |
# File 'lib/yandex/disk/client/request/publication.rb', line 29 def public_url @public_url end |
Instance Method Details
#characters(string) ⇒ Object
38 39 40 |
# File 'lib/yandex/disk/client/request/publication.rb', line 38 def characters string @public_url = string if (@public_url == true) end |
#start_element(name, attributes = []) ⇒ Object
31 32 33 34 35 36 |
# File 'lib/yandex/disk/client/request/publication.rb', line 31 def start_element name, attributes = [] case name when 'public_url' @public_url = true end end |