Class: Gast::Memo::Response

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) ⇒ Response

Returns a new instance of Response.


10
11
12
13
14
# File 'lib/gast/memo.rb', line 10

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


8
9
10
# File 'lib/gast/memo.rb', line 8

def content
  @content
end

#content_idObject (readonly)

Returns the value of attribute content_id


8
9
10
# File 'lib/gast/memo.rb', line 8

def content_id
  @content_id
end

#languageObject (readonly)

Returns the value of attribute language


8
9
10
# File 'lib/gast/memo.rb', line 8

def language
  @language
end