Class: Pandarus::GradingRules

Inherits:
ModelBase show all
Defined in:
lib/pandarus/models/grading_rules.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Methods inherited from ModelBase

#assign, #attr, #has_attr?, #initialize, #inspect, #to_body, #vivify

Constructor Details

This class inherits a constructor from Pandarus::ModelBase

Instance Attribute Details

#drop_highestObject

Returns the value of attribute drop_highest.



6
7
8
# File 'lib/pandarus/models/grading_rules.rb', line 6

def drop_highest
  @drop_highest
end

#drop_lowestObject

Returns the value of attribute drop_lowest.



6
7
8
# File 'lib/pandarus/models/grading_rules.rb', line 6

def drop_lowest
  @drop_lowest
end

#never_dropObject

Returns the value of attribute never_drop.



6
7
8
# File 'lib/pandarus/models/grading_rules.rb', line 6

def never_drop
  @never_drop
end

Class Method Details

.attribute_mapObject



9
10
11
12
13
14
15
16
# File 'lib/pandarus/models/grading_rules.rb', line 9

def self.attribute_map
  {
    :drop_lowest => {:external => "drop_lowest", :container => false, :type => "Integer"},
    :drop_highest => {:external => "drop_highest", :container => false, :type => "Integer"},
    :never_drop => {:external => "never_drop", :container => true, :type => "Integer"}

  }
end