Module: Broadway::Resourceful::InstanceMethods
- Defined in:
- lib/broadway/mixins/resourceful.rb
Instance Attribute Summary collapse
-
#kind ⇒ Object
Returns the value of attribute kind.
-
#site ⇒ Object
Returns the value of attribute site.
-
#title ⇒ Object
Returns the value of attribute title.
Instance Method Summary collapse
Instance Attribute Details
#kind ⇒ Object
Returns the value of attribute kind.
9 10 11 |
# File 'lib/broadway/mixins/resourceful.rb', line 9 def kind @kind end |
#site ⇒ Object
Returns the value of attribute site.
9 10 11 |
# File 'lib/broadway/mixins/resourceful.rb', line 9 def site @site end |
#title ⇒ Object
Returns the value of attribute title.
9 10 11 |
# File 'lib/broadway/mixins/resourceful.rb', line 9 def title @title end |
Instance Method Details
#id ⇒ Object
20 21 22 |
# File 'lib/broadway/mixins/resourceful.rb', line 20 def id self.url end |
#short_name ⇒ Object
11 12 13 |
# File 'lib/broadway/mixins/resourceful.rb', line 11 def short_name self.class.to_s.split("::").last.downcase end |