Sha256: 2a1995e6059b73c3a5dba47fe15e84c6115bbff4a765b78c87f284196bfda8b5

Contents?: true

Size: 497 Bytes

Versions: 6

Compression:

Stored size: 497 Bytes

Contents

module Exchange
  module ExternalAPI
    # @author Beat Richartz
    # A Class that handles api configuration options
    # 
    # @version 0.9
    # @since 0.9
    #
    class Configuration < Exchange::Configurable

      attr_accessor :retries, :app_id, :protocol
      
      def_delegators :instance, :retries, :retries=, :app_id, :app_id=, :protocol, :protocol=
      
      def parent_module
        ExternalAPI
      end
      
      def key
        :api
      end
      
    end
  end 
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
exchange-0.12.0 lib/exchange/external_api/configuration.rb
exchange-0.11.0 lib/exchange/external_api/configuration.rb
exchange-0.10.2 lib/exchange/external_api/configuration.rb
exchange-0.10.1 lib/exchange/external_api/configuration.rb
exchange-0.10.0 lib/exchange/external_api/configuration.rb
exchange-0.9.0 lib/exchange/external_api/configuration.rb