Method: Vng::Asset#initialize
- Defined in:
- lib/vng/asset.rb
#initialize(id:, name: nil, weight: nil, breed_option_id: nil) ⇒ Asset
Returns a new instance of Asset.
10 11 12 13 14 15 |
# File 'lib/vng/asset.rb', line 10 def initialize(id:, name: nil, weight: nil, breed_option_id: nil) @id = id @name = name @weight = weight @breed_option_id = breed_option_id end |