Class: Gast::Memo::Request

Inherits:
Object
  • Object
show all
Defined in:
lib/gast/memo.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#contentObject (readonly)

Returns the value of attribute content


18
19
20
# File 'lib/gast/memo.rb', line 18

def content
  @content
end

#content_idObject (readonly)

Returns the value of attribute content_id


18
19
20
# File 'lib/gast/memo.rb', line 18

def content_id
  @content_id
end

#languageObject (readonly)

Returns the value of attribute language


18
19
20
# File 'lib/gast/memo.rb', line 18

def language
  @language
end