Sha256: c09e5313c4f37f3cdd8b1b9165e8626df5fb31a859e7a2cd2335d9c26a598719

Contents?: true

Size: 363 Bytes

Versions: 2

Compression:

Stored size: 363 Bytes

Contents

require 'singleton'

module PhoneGap
  module Build
    class Credentials

      include Singleton

      attr_reader :username, :password, :token
      attr_writer :token

      def set(credentials)
        @username = credentials[:username]
        @password = credentials[:password]
        @token = credentials[:token]
        self
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
phone_gap-build-0.3.0 lib/phone_gap/build/credentials.rb
phone_gap-build-0.2.0 lib/phone_gap/build/credentials.rb