Class: KCommercial::KCPipeline::KimModel
- Inherits:
-
Object
- Object
- KCommercial::KCPipeline::KimModel
- Defined in:
- lib/KCommercialPipeline/core/kim_notify.rb
Instance Attribute Summary collapse
-
#content ⇒ Object
Returns the value of attribute content.
-
#file_path ⇒ Object
Returns the value of attribute file_path.
-
#image_url ⇒ Object
Returns the value of attribute image_url.
-
#mentioned_list ⇒ Object
Returns the value of attribute mentioned_list.
-
#msg_type ⇒ Object
Returns the value of attribute msg_type.
Instance Method Summary collapse
-
#initialize(msg_type, file_path, content, image_url, mentioned_list = []) ⇒ KimModel
constructor
A new instance of KimModel.
Constructor Details
#initialize(msg_type, file_path, content, image_url, mentioned_list = []) ⇒ KimModel
Returns a new instance of KimModel.
15 16 17 18 19 20 21 |
# File 'lib/KCommercialPipeline/core/kim_notify.rb', line 15 def initialize(msg_type,file_path,content,image_url,mentioned_list = []) @msg_type = msg_type @file_path = file_path @content = content @image_url = image_url @mentioned_list = mentioned_list end |
Instance Attribute Details
#content ⇒ Object
Returns the value of attribute content.
12 13 14 |
# File 'lib/KCommercialPipeline/core/kim_notify.rb', line 12 def content @content end |
#file_path ⇒ Object
Returns the value of attribute file_path.
11 12 13 |
# File 'lib/KCommercialPipeline/core/kim_notify.rb', line 11 def file_path @file_path end |
#image_url ⇒ Object
Returns the value of attribute image_url.
13 14 15 |
# File 'lib/KCommercialPipeline/core/kim_notify.rb', line 13 def image_url @image_url end |
#mentioned_list ⇒ Object
Returns the value of attribute mentioned_list.
14 15 16 |
# File 'lib/KCommercialPipeline/core/kim_notify.rb', line 14 def mentioned_list @mentioned_list end |
#msg_type ⇒ Object
Returns the value of attribute msg_type.
10 11 12 |
# File 'lib/KCommercialPipeline/core/kim_notify.rb', line 10 def msg_type @msg_type end |