Sha256: c1a2e773e9b7dfe23275547d7307c3968bd67221ed36747cdadcfed49bc0cb68

Contents?: true

Size: 192 Bytes

Versions: 2

Compression:

Stored size: 192 Bytes

Contents

module Yun
  class InstanceType
    def self.parse readable_type
      case readable_type
        when "micro" then "t1.micro"
        when "small" then "m1.small"
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
yun-0.0.6 lib/yun/model/instance_type.rb
yun-0.0.5 lib/yun/model/instance_type.rb