Class: Workarea::Blog::Import::Wordpress::Attachment
- Inherits:
-
Object
- Object
- Workarea::Blog::Import::Wordpress::Attachment
- Defined in:
- lib/workarea/blog/import/wordpress/attachment.rb
Instance Method Summary collapse
-
#initialize(url) ⇒ Attachment
constructor
A new instance of Attachment.
- #save ⇒ Object
Constructor Details
#initialize(url) ⇒ Attachment
Returns a new instance of Attachment.
6 7 8 |
# File 'lib/workarea/blog/import/wordpress/attachment.rb', line 6 def initialize(url) @attachment_path = url end |