Class: Contentful::Bootstrap::Templates::Links::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/contentful/bootstrap/templates/links/base.rb

Direct Known Subclasses

Asset, Entry

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id) ⇒ Base

Returns a new instance of Base.



7
8
9
# File 'lib/contentful/bootstrap/templates/links/base.rb', line 7

def initialize(id)
  @id = id
end

Instance Attribute Details

#id ⇒ Object (readonly)

Returns the value of attribute id.



6
7
8
# File 'lib/contentful/bootstrap/templates/links/base.rb', line 6

def id
  @id
end

Instance Method Details

#kind ⇒ Object



11
12
13
# File 'lib/contentful/bootstrap/templates/links/base.rb', line 11

def kind
  raise "must implement"
end