Class: Pandarus::GradingRules
- Defined in:
- lib/pandarus/models/grading_rules.rb
Instance Attribute Summary collapse
-
#drop_highest ⇒ Object
Returns the value of attribute drop_highest.
-
#drop_lowest ⇒ Object
Returns the value of attribute drop_lowest.
-
#never_drop ⇒ Object
Returns the value of attribute never_drop.
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_highest ⇒ Object
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_lowest ⇒ Object
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_drop ⇒ Object
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_map ⇒ Object
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 |