Sha256: df788846c0d7a8986431700b120bec54733a638ab64187594584d672c39e19cc

Contents?: true

Size: 791 Bytes

Versions: 5

Compression:

Stored size: 791 Bytes

Contents

require 'halo-api/client'

require 'halo-api/modules/halo5/metadata'
require 'halo-api/modules/halo5/profile'
require 'halo-api/modules/halo5/stats'
require 'halo-api/modules/halo5/ugc'


module Halo
  module Clients

    # Halo 5 Client
    class Halo5Client < Client

      def initialize(options = {})
        super(options)
      end

      def metadata(options = {})
        merge_options_and_return_obj(options, Halo::Halo5::Metadata)
      end

      def profile(options = {})
        merge_options_and_return_obj(options, Halo::Halo5::Profile)
      end

      def stats(options = {})
        merge_options_and_return_obj(options, Halo::Halo5::Stats)
      end

      def ugc(options = {})
        merge_options_and_return_obj(options, Halo::Halo5::Ugc)
      end

    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
halo-api-0.4.3 lib/halo-api/clients/halo5_client.rb
halo-api-0.4.2 lib/halo-api/clients/halo5_client.rb
halo-api-0.4.1 lib/halo-api/clients/halo5_client.rb
halo-api-0.3.1 lib/halo-api/clients/halo5_client.rb
halo-api-0.3.0 lib/halo-api/clients/halo5_client.rb