Class: YandexTracker::Objects::Attachment
- Defined in:
- lib/yandex_tracker/objects/attachment.rb
Overview
Objects::Attachment
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#expand, #id, #initialize, #method_missing, #respond_to_missing?
Constructor Details
This class inherits a constructor from YandexTracker::Objects::Base
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class YandexTracker::Objects::Base
Instance Method Details
#download ⇒ Object
9 10 11 |
# File 'lib/yandex_tracker/objects/attachment.rb', line 9 def download resource.get(data["content"]) end |
#thumbnail ⇒ Object
13 14 15 |
# File 'lib/yandex_tracker/objects/attachment.rb', line 13 def thumbnail resource.get(data["thumbnail"]) end |