Class: Imageproxy::Identify
- Defined in:
- lib/imageproxy/identify.rb
Instance Method Summary collapse
- #execute(user_agent = nil) ⇒ Object
-
#initialize(options) ⇒ Identify
constructor
A new instance of Identify.
Constructor Details
#initialize(options) ⇒ Identify
Returns a new instance of Identify.
5 6 7 |
# File 'lib/imageproxy/identify.rb', line 5 def initialize() @options = end |
Instance Method Details
#execute(user_agent = nil) ⇒ Object
9 10 11 |
# File 'lib/imageproxy/identify.rb', line 9 def execute(user_agent=nil) execute_command %'#{curl @options.source, :user_agent => user_agent} | identify -verbose -' end |