Class: Moodle2CC::Moodle2::Models::Resource
- Inherits:
 - 
      Object
      
        
- Object
 - Moodle2CC::Moodle2::Models::Resource
 
 
- Defined in:
 - lib/moodle2cc/moodle2/models/resource.rb
 
Instance Attribute Summary collapse
- 
  
    
      #display  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute display.
 - 
  
    
      #display_options  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute display_options.
 - 
  
    
      #file  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute file.
 - 
  
    
      #file_ids  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute file_ids.
 - 
  
    
      #filter_files  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute filter_files.
 - 
  
    
      #id  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute id.
 - 
  
    
      #intro  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute intro.
 - 
  
    
      #intro_format  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute intro_format.
 - 
  
    
      #legacy_files  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute legacy_files.
 - 
  
    
      #legacy_files_last  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute legacy_files_last.
 - 
  
    
      #module_id  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute module_id.
 - 
  
    
      #name  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute name.
 - 
  
    
      #to_be_migrated  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute to_be_migrated.
 - 
  
    
      #visible  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute visible.
 
Instance Method Summary collapse
- 
  
    
      #initialize  ⇒ Resource 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of Resource.
 
Constructor Details
#initialize ⇒ Resource
Returns a new instance of Resource.
      6 7 8  | 
    
      # File 'lib/moodle2cc/moodle2/models/resource.rb', line 6 def initialize @file_ids = [] end  | 
  
Instance Attribute Details
#display ⇒ Object
Returns the value of attribute display.
      3 4 5  | 
    
      # File 'lib/moodle2cc/moodle2/models/resource.rb', line 3 def display @display end  | 
  
#display_options ⇒ Object
Returns the value of attribute display_options.
      3 4 5  | 
    
      # File 'lib/moodle2cc/moodle2/models/resource.rb', line 3 def @display_options end  | 
  
#file ⇒ Object
Returns the value of attribute file.
      3 4 5  | 
    
      # File 'lib/moodle2cc/moodle2/models/resource.rb', line 3 def file @file end  | 
  
#file_ids ⇒ Object
Returns the value of attribute file_ids.
      3 4 5  | 
    
      # File 'lib/moodle2cc/moodle2/models/resource.rb', line 3 def file_ids @file_ids end  | 
  
#filter_files ⇒ Object
Returns the value of attribute filter_files.
      3 4 5  | 
    
      # File 'lib/moodle2cc/moodle2/models/resource.rb', line 3 def filter_files @filter_files end  | 
  
#id ⇒ Object
Returns the value of attribute id.
      3 4 5  | 
    
      # File 'lib/moodle2cc/moodle2/models/resource.rb', line 3 def id @id end  | 
  
#intro ⇒ Object
Returns the value of attribute intro.
      3 4 5  | 
    
      # File 'lib/moodle2cc/moodle2/models/resource.rb', line 3 def intro @intro end  | 
  
#intro_format ⇒ Object
Returns the value of attribute intro_format.
      3 4 5  | 
    
      # File 'lib/moodle2cc/moodle2/models/resource.rb', line 3 def intro_format @intro_format end  | 
  
#legacy_files ⇒ Object
Returns the value of attribute legacy_files.
      3 4 5  | 
    
      # File 'lib/moodle2cc/moodle2/models/resource.rb', line 3 def legacy_files @legacy_files end  | 
  
#legacy_files_last ⇒ Object
Returns the value of attribute legacy_files_last.
      3 4 5  | 
    
      # File 'lib/moodle2cc/moodle2/models/resource.rb', line 3 def legacy_files_last @legacy_files_last end  | 
  
#module_id ⇒ Object
Returns the value of attribute module_id.
      3 4 5  | 
    
      # File 'lib/moodle2cc/moodle2/models/resource.rb', line 3 def module_id @module_id end  | 
  
#name ⇒ Object
Returns the value of attribute name.
      3 4 5  | 
    
      # File 'lib/moodle2cc/moodle2/models/resource.rb', line 3 def name @name end  | 
  
#to_be_migrated ⇒ Object
Returns the value of attribute to_be_migrated.
      3 4 5  | 
    
      # File 'lib/moodle2cc/moodle2/models/resource.rb', line 3 def to_be_migrated @to_be_migrated end  | 
  
#visible ⇒ Object
Returns the value of attribute visible.
      3 4 5  | 
    
      # File 'lib/moodle2cc/moodle2/models/resource.rb', line 3 def visible @visible end  |