Module: Gw2::Api::Achievements

Included in:
Client
Defined in:
lib/gw2/modules/achievements.rb

Overview

achievements.rb This module is responsible for methods for querying information about achievements

Instance Method Summary collapse

Instance Method Details

#achievements(params = {}) ⇒ Object

Returns the achievements Valid Parameters

  • id: [String] the id of the achievement to filter

  • ids: [String] the ids of the achievements to filter comma seperated

  • page: [String] the page number to filter

  • page_size: [String] the page size to filter

Parameters:

  • params (Hash) (defaults to: {})

    the options to filter the achievements



15
16
17
# File 'lib/gw2/modules/achievements.rb', line 15

def achievements(params = {})
  execute_with_params("achievements", params)
end

#achievements_categories(params = {}) ⇒ Object

Returns the achievements categories Valid Parameters

  • id: [String] the id of the achievement to filter

  • ids: [String] the ids of the achievements to filter comma seperated

  • page: [String] the page number to filter

Parameters:

  • params (Hash) (defaults to: {})

    the options to filter the achievements



36
37
38
# File 'lib/gw2/modules/achievements.rb', line 36

def achievements_categories(params = {})
  execute_with_params("achievements/categories", params)
end

#achievements_groups(params = {}) ⇒ Object

Returns the achievements groups Valid Parameters

  • id: [String] the id of the achievement to filter

  • ids: [String] the ids of the achievements to filter comma seperated

  • page: [String] the page number to filter

  • page_size: [String] the page size to filter

Parameters:

  • params (Hash) (defaults to: {})

    the options to filter the achievements



26
27
28
# File 'lib/gw2/modules/achievements.rb', line 26

def achievements_groups(params = {})
  execute_with_params("achievements/groups", params)
end