Class: Gast::Memo::Request
- Inherits:
-
Object
- Object
- Gast::Memo::Request
- Defined in:
- lib/gast/memo.rb
Instance Attribute Summary collapse
-
#content ⇒ Object
readonly
Returns the value of attribute content.
-
#content_id ⇒ Object
readonly
Returns the value of attribute content_id.
-
#language ⇒ Object
readonly
Returns the value of attribute language.
Instance Method Summary collapse
-
#initialize(content_id, language, content) ⇒ Request
constructor
A new instance of Request.
Constructor Details
#initialize(content_id, language, content) ⇒ Request
Returns a new instance of Request.
20 21 22 23 24 |
# File 'lib/gast/memo.rb', line 20 def initialize(content_id, language, content) @content_id = content_id @language = language @content = content end |
Instance Attribute Details
#content ⇒ Object (readonly)
Returns the value of attribute content.
18 19 20 |
# File 'lib/gast/memo.rb', line 18 def content @content end |
#content_id ⇒ Object (readonly)
Returns the value of attribute content_id.
18 19 20 |
# File 'lib/gast/memo.rb', line 18 def content_id @content_id end |
#language ⇒ Object (readonly)
Returns the value of attribute language.
18 19 20 |
# File 'lib/gast/memo.rb', line 18 def language @language end |