diff options
Diffstat (limited to 'lib/attachment_to_html/html.rb')
-rw-r--r-- | lib/attachment_to_html/html.rb | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/attachment_to_html/html.rb b/lib/attachment_to_html/html.rb new file mode 100644 index 000000000..44d095be8 --- /dev/null +++ b/lib/attachment_to_html/html.rb @@ -0,0 +1,14 @@ +require 'forwardable' +module AttachmentToHTML + class HTML + extend Forwardable + + def_delegator :@adapter, :to_html, :to_s + def_delegator :@adapter, :success? + + def initialize(adapter) + @adapter = adapter + end + + end +end |