Class: Iknow::List::Application
Constant Summary collapse
- ATTRIBUTES =
[:application, :list_id, :lang]
Instance Method Summary collapse
-
#initialize(params = {}) ⇒ Application
constructor
A new instance of Application.
- #url ⇒ Object
Methods inherited from Base
attributes, #attributes, deserialize, #deserialize
Constructor Details
#initialize(params = {}) ⇒ Application
Returns a new instance of Application.
29 30 31 32 33 |
# File 'lib/iknow/model/list.rb', line 29 def initialize(params = {}) @application = params[:application] @list_id = params[:list_id] @lang = params[:lang] end |
Instance Method Details
#url ⇒ Object
34 35 36 |
# File 'lib/iknow/model/list.rb', line 34 def url "http://www.iknow.co.jp/flash?swf=#{self.name}&course_id=#{self.list_id}&lang=#{self.lang}" end |