module Shrine::Plugins::RemoteUrl::AttachmentMethods

  1. lib/shrine/plugins/remote_url.rb

Methods

Public Class

  1. new

Public Class methods

new (*)
[show source]
# File lib/shrine/plugins/remote_url.rb, line 82
        def initialize(*)
          super

          module_eval "            def #{@name}_remote_url=(url)
              #{@name}_attacher.remote_url = url
            end

            def #{@name}_remote_url
              #{@name}_attacher.remote_url
            end
", __FILE__, __LINE__ + 1
        end