Class: Gotenberg::Analyzers::Resource
- Inherits:
-
Base
- Object
- Base
- Gotenberg::Analyzers::Resource
show all
- Defined in:
- lib/gotenberg/analyzers/resource.rb
Constant Summary
Constants inherited
from Base
Base::URI_REGEXP
Instance Attribute Summary
Attributes inherited from Base
#resource
Instance Method Summary
collapse
Methods inherited from Base
#call, #initialize
Instance Method Details
#assets ⇒ Object
11
12
13
|
# File 'lib/gotenberg/analyzers/resource.rb', line 11
def assets
[binary, filename]
end
|
#tag ⇒ Object
7
8
9
|
# File 'lib/gotenberg/analyzers/resource.rb', line 7
def tag
'url(%s)' % src_value
end
|