Method: Vng::Breed#initialize
- Defined in:
- lib/vng/breed.rb
#initialize(id:, name:, species:, option_id:, low_weight:, high_weight:) ⇒ Breed
Returns a new instance of Breed.
10 11 12 13 14 15 16 17 |
# File 'lib/vng/breed.rb', line 10 def initialize(id:, name:, species:, option_id:, low_weight:, high_weight:) @id = id @name = name @species = species @option_id = option_id @low_weight = low_weight @high_weight = high_weight end |