Class: Embedit::Ipernity
- Inherits:
-
Object
- Object
- Embedit::Ipernity
- Defined in:
- lib/embedit/providers/ipernity.rb
Instance Attribute Summary collapse
-
#format ⇒ Object
readonly
Returns the value of attribute format.
-
#title ⇒ Object
readonly
Returns the value of attribute title.
-
#url ⇒ Object
readonly
Returns the value of attribute url.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(url) ⇒ Ipernity
constructor
A new instance of Ipernity.
Constructor Details
#initialize(url) ⇒ Ipernity
Returns a new instance of Ipernity.
7 8 9 10 |
# File 'lib/embedit/providers/ipernity.rb', line 7 def initialize(url) @url = url end |
Instance Attribute Details
#format ⇒ Object (readonly)
Returns the value of attribute format.
5 6 7 |
# File 'lib/embedit/providers/ipernity.rb', line 5 def format @format end |
#title ⇒ Object (readonly)
Returns the value of attribute title.
5 6 7 |
# File 'lib/embedit/providers/ipernity.rb', line 5 def title @title end |
#url ⇒ Object (readonly)
Returns the value of attribute url.
5 6 7 |
# File 'lib/embedit/providers/ipernity.rb', line 5 def url @url end |
Class Method Details
.match(url) ⇒ Object
11 12 |
# File 'lib/embedit/providers/ipernity.rb', line 11 def self.match(url) end |