Sha256: 498d815fb7261f6e49a19c993dd08b0d3c2e954b7c8cd7740778b722577b8302

Contents?: true

Size: 491 Bytes

Versions: 1

Compression:

Stored size: 491 Bytes

Contents

module Jackpot

  class Configuration

    attr_accessor :default_options
    attr_accessor :gateway

    def initialize
      @gateway = HashWithIndifferentAccess.new
    end 


    def gateway_type(gateway)
      @gateway[:type] = gateway 
    end 


    def gateway_login(login)
      @gateway[:login] = login 
    end 


    def gateway_password(password)
      @gateway[:password] = password 
    end 

    def gateway_mode(mode)
      @gateway[:mode] = mode 
    end 
   
  end 

end 

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jackpot-0.0.3 lib/jackpot/configuration.rb