Sha256: e5be3a2878458dd6823c943420d986e6d3ed40a4716801acbc67646aea455846

Contents?: true

Size: 519 Bytes

Versions: 9

Compression:

Stored size: 519 Bytes

Contents

require_relative 'base'
require 'addressable/template'

module Taric
  module Operation
    module ApiChallenge
      include Taric::Operation::Base
      API_CHALLENGE_VERSION = 'v4.1'.freeze
      API_CHALLENGE_MATCH_IDS = Addressable::Template.new "#{BASE_URL_FN.(API_CHALLENGE_VERSION)}/game/ids{?api_key,beginDate}"

      # Match ids given a begin date
      #
      #
      def api_challenge_match_ids(begin_date:)
        response_for API_CHALLENGE_MATCH_IDS, beginDate: begin_date
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
taric-0.3.0 lib/taric/operation/api_challenge.rb
taric-0.2.4 lib/taric/operation/api_challenge.rb
taric-0.2.2 lib/taric/operation/api_challenge.rb
taric-0.2.1 lib/taric/operation/api_challenge.rb
taric-0.2.0 lib/taric/operation/api_challenge.rb
taric-0.1.14 lib/taric/operation/api_challenge.rb
taric-0.1.13 lib/taric/operation/api_challenge.rb
taric-0.1.12 lib/taric/operation/api_challenge.rb
taric-0.1.11 lib/taric/operation/api_challenge.rb