Sha256: e30aa4cfebd8c62f2f395adcfe1acc945324dd0307d0fc0497df02c5b4a46b46
Contents?: true
Size: 435 Bytes
Versions: 6
Compression:
Stored size: 435 Bytes
Contents
module Shipit class VariableDefinition attr_reader :name, :title, :value, :default def initialize(attributes) @name = attributes.fetch('name') @title = attributes['title'] @value = attributes['value'] @default = attributes['default'] end def to_h { 'name' => @name, 'title' => @title, 'value' => @value, 'default' => @default, } end end end
Version data entries
6 entries across 6 versions & 1 rubygems