Class: ConferenceTalk
- Inherits:
-
Struct
- Object
- Struct
- ConferenceTalk
- Defined in:
- lib/glimmer-dsl-web/samples/hello/hello_page_component_link/models/conference_talk.rb
Instance Attribute Summary collapse
-
#bio ⇒ Object
Returns the value of attribute bio.
-
#created_at ⇒ Object
Returns the value of attribute created_at.
-
#description ⇒ Object
Returns the value of attribute description.
-
#id ⇒ Object
Returns the value of attribute id.
-
#speaker ⇒ Object
Returns the value of attribute speaker.
-
#time ⇒ Object
Returns the value of attribute time.
-
#title ⇒ Object
Returns the value of attribute title.
-
#updated_at ⇒ Object
Returns the value of attribute updated_at.
Instance Method Summary collapse
Instance Attribute Details
#bio ⇒ Object
Returns the value of attribute bio
1 2 3 |
# File 'lib/glimmer-dsl-web/samples/hello/hello_page_component_link/models/conference_talk.rb', line 1 def bio @bio end |
#created_at ⇒ Object
Returns the value of attribute created_at
1 2 3 |
# File 'lib/glimmer-dsl-web/samples/hello/hello_page_component_link/models/conference_talk.rb', line 1 def created_at @created_at end |
#description ⇒ Object
Returns the value of attribute description
1 2 3 |
# File 'lib/glimmer-dsl-web/samples/hello/hello_page_component_link/models/conference_talk.rb', line 1 def description @description end |
#id ⇒ Object
Returns the value of attribute id
1 2 3 |
# File 'lib/glimmer-dsl-web/samples/hello/hello_page_component_link/models/conference_talk.rb', line 1 def id @id end |
#speaker ⇒ Object
Returns the value of attribute speaker
1 2 3 |
# File 'lib/glimmer-dsl-web/samples/hello/hello_page_component_link/models/conference_talk.rb', line 1 def speaker @speaker end |
#time ⇒ Object
Returns the value of attribute time
1 2 3 |
# File 'lib/glimmer-dsl-web/samples/hello/hello_page_component_link/models/conference_talk.rb', line 1 def time @time end |
#title ⇒ Object
Returns the value of attribute title
1 2 3 |
# File 'lib/glimmer-dsl-web/samples/hello/hello_page_component_link/models/conference_talk.rb', line 1 def title @title end |
#updated_at ⇒ Object
Returns the value of attribute updated_at
1 2 3 |
# File 'lib/glimmer-dsl-web/samples/hello/hello_page_component_link/models/conference_talk.rb', line 1 def updated_at @updated_at end |
Instance Method Details
#resource_path ⇒ Object
2 3 4 |
# File 'lib/glimmer-dsl-web/samples/hello/hello_page_component_link/models/conference_talk.rb', line 2 def resource_path "/conference_talks/#{id}" end |
#to_s ⇒ Object
6 7 8 |
# File 'lib/glimmer-dsl-web/samples/hello/hello_page_component_link/models/conference_talk.rb', line 6 def to_s "#{time}: #{title} by #{speaker})" end |