Class: MingleEvents::Feed::Links::Link

Inherits:
Object
  • Object
show all
Defined in:
lib/mingle_events/feed/links.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#hrefObject (readonly)

Returns the value of attribute href.



28
29
30
# File 'lib/mingle_events/feed/links.rb', line 28

def href
  @href
end

#relObject (readonly)

Returns the value of attribute rel.



28
29
30
# File 'lib/mingle_events/feed/links.rb', line 28

def rel
  @rel
end

#titleObject (readonly)

Returns the value of attribute title.



28
29
30
# File 'lib/mingle_events/feed/links.rb', line 28

def title
  @title
end

#typeObject (readonly)

Returns the value of attribute type.



28
29
30
# File 'lib/mingle_events/feed/links.rb', line 28

def type
  @type
end