Sha256: 17cc971bb39917916f7649126f7881dcd9b0a0c0726f5953fe94070edca79026

Contents?: true

Size: 527 Bytes

Versions: 2

Compression:

Stored size: 527 Bytes

Contents

module Xolphin
  module Api
    class Client
      def initialize(username, password, test = false)
        @http = Xolphin::Api::Http.new(username, password, test: test)
      end

      def request
        Xolphin::Api::Endpoint::Request.new(@http)
      end

      def certificate
        Xolphin::Api::Endpoint::Certificate.new(@http)
      end

      def support
        Xolphin::Api::Endpoint::Support.new(@http)
      end

      def invoice
        Xolphin::Api::Endpoint::Invoice.new(@http)
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
xolphin-api-1.9.0 lib/xolphin/api/client.rb
xolphin-api-1.8.0 lib/xolphin/api/client.rb