Sha256: d1f65e903578b6013fee4885e4da3551a1a21d67725fe1a9400fabfc0845991f

Contents?: true

Size: 439 Bytes

Versions: 1

Compression:

Stored size: 439 Bytes

Contents

module Nordea
  module FileTransfer
    module Config
      @@keys = [
        :cert_file, :private_key_file, :private_key_password,
        :sender_id, :receiver_id, :customer_id, :language, :user_agent, :environment, :software_id
      ]
      attr_accessor(*@@keys)

      def keys
        @@keys
      end

      def configure
        yield self if block_given?
        self
      end

      alias :config :configure
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
nordea-filetransfer-0.2.1 lib/nordea/file_transfer/config.rb