Class: MingleEvents::Feed::Links::Link
- Inherits:
-
Object
- Object
- MingleEvents::Feed::Links::Link
- Defined in:
- lib/mingle_events/feed/links.rb
Instance Attribute Summary collapse
-
#href ⇒ Object
readonly
Returns the value of attribute href.
-
#rel ⇒ Object
readonly
Returns the value of attribute rel.
-
#title ⇒ Object
readonly
Returns the value of attribute title.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(href, rel, type, title) ⇒ Link
constructor
A new instance of Link.
Constructor Details
#initialize(href, rel, type, title) ⇒ Link
Returns a new instance of Link.
30 31 32 33 34 35 |
# File 'lib/mingle_events/feed/links.rb', line 30 def initialize(href, rel, type, title) @href = href @rel = rel @type = type @title = title end |
Instance Attribute Details
#href ⇒ Object (readonly)
Returns the value of attribute href.
28 29 30 |
# File 'lib/mingle_events/feed/links.rb', line 28 def href @href end |
#rel ⇒ Object (readonly)
Returns the value of attribute rel.
28 29 30 |
# File 'lib/mingle_events/feed/links.rb', line 28 def rel @rel end |
#title ⇒ Object (readonly)
Returns the value of attribute title.
28 29 30 |
# File 'lib/mingle_events/feed/links.rb', line 28 def title @title end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
28 29 30 |
# File 'lib/mingle_events/feed/links.rb', line 28 def type @type end |