Sha256: d5d5326d247cb1960c7cb7790b634168dc252c06f88c595f1f3906e6e9a8a44d

Contents?: true

Size: 254 Bytes

Versions: 2

Compression:

Stored size: 254 Bytes

Contents

module EY
  class Account
    class AppMaster < Struct.new(:status, :public_hostname)
      def self.from_hash(hash)
        new(
          hash["status"],
          hash["public_hostname"]
        ) if hash && hash != "null"
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
engineyard-0.2.11 lib/engineyard/account/app_master.rb
engineyard-0.2.10 lib/engineyard/account/app_master.rb