warframe 0.4.0 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (61) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +32 -13
  3. data/README.md +39 -34
  4. data/lib/warframe/api/alerts.rb +14 -0
  5. data/lib/warframe/api/cambion_drift.rb +16 -0
  6. data/lib/warframe/api/cetus.rb +16 -0
  7. data/lib/warframe/api/conclave_challenges.rb +16 -0
  8. data/lib/warframe/api/global_upgrades.rb +16 -0
  9. data/lib/warframe/api/invasions.rb +16 -0
  10. data/lib/warframe/api/news.rb +16 -0
  11. data/lib/warframe/api/nightwave.rb +16 -0
  12. data/lib/warframe/api/sortie.rb +16 -0
  13. data/lib/warframe/api/steel_path.rb +16 -0
  14. data/lib/warframe/api/syndicate_missions.rb +16 -0
  15. data/lib/warframe/api/vallis_cycle.rb +16 -0
  16. data/lib/warframe/api.rb +24 -0
  17. data/lib/warframe/cache.rb +3 -3
  18. data/lib/warframe/client.rb +98 -0
  19. data/lib/warframe/models/alert.rb +16 -23
  20. data/lib/warframe/models/attributes/description.rb +12 -16
  21. data/lib/warframe/models/attributes/eta.rb +6 -10
  22. data/lib/warframe/models/attributes/expiry.rb +20 -24
  23. data/lib/warframe/models/attributes/id.rb +6 -10
  24. data/lib/warframe/models/attributes/reward_types.rb +6 -10
  25. data/lib/warframe/models/attributes/start_string.rb +6 -10
  26. data/lib/warframe/models/attributes/translations.rb +9 -13
  27. data/lib/warframe/models/base.rb +5 -30
  28. data/lib/warframe/models/cambion_drift.rb +14 -19
  29. data/lib/warframe/models/cetus.rb +25 -30
  30. data/lib/warframe/models/conclave_challenge.rb +43 -50
  31. data/lib/warframe/models/global_upgrade.rb +33 -37
  32. data/lib/warframe/models/invasion.rb +58 -67
  33. data/lib/warframe/models/news.rb +45 -50
  34. data/lib/warframe/models/nightwave.rb +24 -30
  35. data/lib/warframe/models/objectified_hash.rb +74 -0
  36. data/lib/warframe/models/sortie.rb +21 -27
  37. data/lib/warframe/models/steel_path.rb +22 -24
  38. data/lib/warframe/models/syndicate_mission.rb +18 -24
  39. data/lib/warframe/models/vallis_cycle.rb +21 -26
  40. data/lib/warframe/models.rb +6 -0
  41. data/lib/warframe/version.rb +1 -1
  42. data/lib/warframe.rb +4 -2
  43. data/warframe.gemspec +9 -13
  44. metadata +37 -94
  45. data/lib/warframe/client_wrapper.rb +0 -39
  46. data/lib/warframe/rest/api/alerts.rb +0 -23
  47. data/lib/warframe/rest/api/cambion_drift.rb +0 -23
  48. data/lib/warframe/rest/api/cetus.rb +0 -23
  49. data/lib/warframe/rest/api/conclave_challenges.rb +0 -23
  50. data/lib/warframe/rest/api/global_upgrades.rb +0 -23
  51. data/lib/warframe/rest/api/invasions.rb +0 -23
  52. data/lib/warframe/rest/api/news.rb +0 -23
  53. data/lib/warframe/rest/api/nightwave.rb +0 -23
  54. data/lib/warframe/rest/api/sortie.rb +0 -23
  55. data/lib/warframe/rest/api/steel_path.rb +0 -23
  56. data/lib/warframe/rest/api/syndicate_missions.rb +0 -23
  57. data/lib/warframe/rest/api/vallis_cycle.rb +0 -23
  58. data/lib/warframe/rest/api.rb +0 -39
  59. data/lib/warframe/rest/client.rb +0 -42
  60. data/lib/warframe/rest/request.rb +0 -61
  61. data/lib/warframe/rest/utils.rb +0 -23
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: warframe
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - A.J. Romaniello
8
8
  - Warframe Community Developers
9
- autorequire:
9
+ autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2022-02-12 00:00:00.000000000 Z
12
+ date: 2022-06-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: fast_underscore
@@ -26,105 +26,49 @@ dependencies:
26
26
  - !ruby/object:Gem::Version
27
27
  version: '0.3'
28
28
  - !ruby/object:Gem::Dependency
29
- name: http
29
+ name: require_all
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
32
  - - "~>"
33
33
  - !ruby/object:Gem::Version
34
- version: '5.0'
34
+ version: '3.0'
35
35
  type: :runtime
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
39
  - - "~>"
40
40
  - !ruby/object:Gem::Version
41
- version: '5.0'
41
+ version: '3.0'
42
42
  - !ruby/object:Gem::Dependency
43
- name: json
43
+ name: rest-client
44
44
  requirement: !ruby/object:Gem::Requirement
45
45
  requirements:
46
46
  - - "~>"
47
47
  - !ruby/object:Gem::Version
48
- version: '2.6'
48
+ version: '2.1'
49
49
  type: :runtime
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
53
  - - "~>"
54
54
  - !ruby/object:Gem::Version
55
- version: '2.6'
55
+ version: '2.1'
56
56
  - !ruby/object:Gem::Dependency
57
57
  name: bundler
58
58
  requirement: !ruby/object:Gem::Requirement
59
59
  requirements:
60
60
  - - "~>"
61
61
  - !ruby/object:Gem::Version
62
- version: '2.0'
62
+ version: '2.3'
63
63
  type: :development
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
67
  - - "~>"
68
68
  - !ruby/object:Gem::Version
69
- version: '2.0'
70
- - !ruby/object:Gem::Dependency
71
- name: rspec
72
- requirement: !ruby/object:Gem::Requirement
73
- requirements:
74
- - - "~>"
75
- - !ruby/object:Gem::Version
76
- version: '3.9'
77
- type: :development
78
- prerelease: false
79
- version_requirements: !ruby/object:Gem::Requirement
80
- requirements:
81
- - - "~>"
82
- - !ruby/object:Gem::Version
83
- version: '3.9'
84
- - !ruby/object:Gem::Dependency
85
- name: rubocop
86
- requirement: !ruby/object:Gem::Requirement
87
- requirements:
88
- - - "~>"
89
- - !ruby/object:Gem::Version
90
- version: '1.24'
91
- type: :development
92
- prerelease: false
93
- version_requirements: !ruby/object:Gem::Requirement
94
- requirements:
95
- - - "~>"
96
- - !ruby/object:Gem::Version
97
- version: '1.24'
98
- - !ruby/object:Gem::Dependency
99
- name: thor
100
- requirement: !ruby/object:Gem::Requirement
101
- requirements:
102
- - - "~>"
103
- - !ruby/object:Gem::Version
104
- version: '1.1'
105
- type: :development
106
- prerelease: false
107
- version_requirements: !ruby/object:Gem::Requirement
108
- requirements:
109
- - - "~>"
110
- - !ruby/object:Gem::Version
111
- version: '1.1'
112
- - !ruby/object:Gem::Dependency
113
- name: yard
114
- requirement: !ruby/object:Gem::Requirement
115
- requirements:
116
- - - "~>"
117
- - !ruby/object:Gem::Version
118
- version: '0.9'
119
- type: :development
120
- prerelease: false
121
- version_requirements: !ruby/object:Gem::Requirement
122
- requirements:
123
- - - "~>"
124
- - !ruby/object:Gem::Version
125
- version: '0.9'
69
+ version: '2.3'
126
70
  description: A Ruby interface to the WarframeStat API.
127
- email:
71
+ email:
128
72
  executables: []
129
73
  extensions: []
130
74
  extra_rdoc_files: []
@@ -134,8 +78,22 @@ files:
134
78
  - LICENSE.txt
135
79
  - README.md
136
80
  - lib/warframe.rb
81
+ - lib/warframe/api.rb
82
+ - lib/warframe/api/alerts.rb
83
+ - lib/warframe/api/cambion_drift.rb
84
+ - lib/warframe/api/cetus.rb
85
+ - lib/warframe/api/conclave_challenges.rb
86
+ - lib/warframe/api/global_upgrades.rb
87
+ - lib/warframe/api/invasions.rb
88
+ - lib/warframe/api/news.rb
89
+ - lib/warframe/api/nightwave.rb
90
+ - lib/warframe/api/sortie.rb
91
+ - lib/warframe/api/steel_path.rb
92
+ - lib/warframe/api/syndicate_missions.rb
93
+ - lib/warframe/api/vallis_cycle.rb
137
94
  - lib/warframe/cache.rb
138
- - lib/warframe/client_wrapper.rb
95
+ - lib/warframe/client.rb
96
+ - lib/warframe/models.rb
139
97
  - lib/warframe/models/alert.rb
140
98
  - lib/warframe/models/attributes/active.rb
141
99
  - lib/warframe/models/attributes/description.rb
@@ -153,37 +111,22 @@ files:
153
111
  - lib/warframe/models/invasion.rb
154
112
  - lib/warframe/models/news.rb
155
113
  - lib/warframe/models/nightwave.rb
114
+ - lib/warframe/models/objectified_hash.rb
156
115
  - lib/warframe/models/sortie.rb
157
116
  - lib/warframe/models/steel_path.rb
158
117
  - lib/warframe/models/syndicate_mission.rb
159
118
  - lib/warframe/models/vallis_cycle.rb
160
- - lib/warframe/rest/api.rb
161
- - lib/warframe/rest/api/alerts.rb
162
- - lib/warframe/rest/api/cambion_drift.rb
163
- - lib/warframe/rest/api/cetus.rb
164
- - lib/warframe/rest/api/conclave_challenges.rb
165
- - lib/warframe/rest/api/global_upgrades.rb
166
- - lib/warframe/rest/api/invasions.rb
167
- - lib/warframe/rest/api/news.rb
168
- - lib/warframe/rest/api/nightwave.rb
169
- - lib/warframe/rest/api/sortie.rb
170
- - lib/warframe/rest/api/steel_path.rb
171
- - lib/warframe/rest/api/syndicate_missions.rb
172
- - lib/warframe/rest/api/vallis_cycle.rb
173
- - lib/warframe/rest/client.rb
174
- - lib/warframe/rest/request.rb
175
- - lib/warframe/rest/utils.rb
176
119
  - lib/warframe/version.rb
177
120
  - warframe.gemspec
178
- homepage: https://github.com/WFCD/warframe-ruby
121
+ homepage: https://gitlab.com/aj-rom/warframe-ruby
179
122
  licenses:
180
123
  - MIT
181
124
  metadata:
182
- source_code_uri: https://github.com/WFCD/warframe-ruby
183
- changelog_uri: https://github.com/WFCD/warframe-ruby/blob/master/CHANGELOG.md
184
- bug_tracker_uri: https://github.com/WFCD/warframe-ruby/issues
185
- documentation_uri: https://rubydoc.info/gems/warframe
186
- post_install_message:
125
+ source_code_uri: https://gitlab.com/aj-rom/warframe-ruby/-/tree/v1.0.0
126
+ changelog_uri: https://gitlab.com/aj-rom/warframe-ruby/-/tree/v1.0.0/CHANGELOG.md
127
+ bug_tracker_uri: https://gitlab.com/aj-rom/warframe-ruby/-/issues
128
+ documentation_uri: https://rubydoc.info/gems/warframe/1.0.0
129
+ post_install_message:
187
130
  rdoc_options: []
188
131
  require_paths:
189
132
  - lib
@@ -191,15 +134,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
191
134
  requirements:
192
135
  - - ">="
193
136
  - !ruby/object:Gem::Version
194
- version: 2.5.0
137
+ version: '2.3'
195
138
  required_rubygems_version: !ruby/object:Gem::Requirement
196
139
  requirements:
197
140
  - - ">="
198
141
  - !ruby/object:Gem::Version
199
142
  version: '0'
200
143
  requirements: []
201
- rubygems_version: 3.3.3
202
- signing_key:
144
+ rubygems_version: 3.1.6
145
+ signing_key:
203
146
  specification_version: 4
204
147
  summary: A Ruby interface to the WarframeStat API.
205
148
  test_files: []
@@ -1,39 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require_relative 'cache'
4
-
5
- module Warframe
6
- # @abstract
7
- # @private
8
- # Wraps the {Warframe::REST::Client REST::Client} with necessary variables and methods.
9
- #
10
- # This class should < not be used > for interacting with the API.
11
- class ClientWrapper < Warframe::Cache
12
- # The base Warframe Stat API link
13
- BASE_URL = 'https://api.warframestat.us/'
14
- # Default attributes
15
- DEFAULT_OPTIONS = { platform: 'pc', language: 'en' }.freeze
16
-
17
- # The Client Cache
18
- attr_accessor :platform, :language
19
-
20
- # Initialize the Wrapper for {Warframe::REST::Client REST::Client}
21
- #
22
- # @param options [Hash] merges with {DEFAULT_OPTIONS}
23
- #
24
- # See {Warframe::REST::Client REST::Client} for all accepted languages, platforms, and examples.
25
- #
26
- # This class is ABSTRACT and should not be instantiated outside of {Warframe::REST::Client REST::Client}.
27
- # @return [Warframe::ClientWrapper]
28
- def initialize(options = {})
29
- super()
30
- DEFAULT_OPTIONS.merge(options).each { |k, v| instance_variable_set "@#{k}", v }
31
- yield self if block_given?
32
- end
33
-
34
- # @return [String] the base url and platform combined.
35
- def base_url
36
- BASE_URL + platform
37
- end
38
- end
39
- end
@@ -1,23 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'warframe/models/alert'
4
- require_relative '../utils'
5
-
6
- module Warframe
7
- module REST
8
- module API
9
- # API endpoint for getting information on current Alerts data.
10
- #
11
- # {https://api.warframestat.us/pc/alerts Example Response}
12
- module Alerts
13
- include Warframe::REST::Utils
14
-
15
- # Gets the current Alerts data.
16
- # @return [Array<[Warframe::Models::Alert]>]
17
- def alerts
18
- get('/alerts', Warframe::Models::Alert)
19
- end
20
- end
21
- end
22
- end
23
- end
@@ -1,23 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'warframe/models/cambion_drift'
4
- require_relative '../utils'
5
-
6
- module Warframe
7
- module REST
8
- module API
9
- # API endpoint for getting information on current Cambion Drift data.
10
- #
11
- # {https://api.warframestat.us/pc/cambionDrift Example Response}
12
- module CambionDrift
13
- include Warframe::REST::Utils
14
-
15
- # Gets the current cambionDrift Data.
16
- # @return Warframe::Models::CambionDrift
17
- def cambion_drift
18
- get('/cambionCycle', Warframe::Models::CambionDrift)
19
- end
20
- end
21
- end
22
- end
23
- end
@@ -1,23 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'warframe/models/cetus'
4
- require_relative '../utils'
5
-
6
- module Warframe
7
- module REST
8
- module API
9
- # API endpoint for getting information on current Cetus data.
10
- #
11
- # {https://api.warframestat.us/pc/cetusCycle Example Response}
12
- module Cetus
13
- include Warframe::REST::Utils
14
-
15
- # Gets the current cetusCycle Data.
16
- # @return [Warframe::Models::Cetus]
17
- def cetus
18
- get('/cetusCycle', Warframe::Models::Cetus)
19
- end
20
- end
21
- end
22
- end
23
- end
@@ -1,23 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'warframe/models/conclave_challenge'
4
- require_relative '../utils'
5
-
6
- module Warframe
7
- module REST
8
- module API
9
- # API endpoint for getting information on current Conclave Challenge data.
10
- #
11
- # {https://api.warframestat.us/pc/conclaveChallenges Example Response}
12
- module ConclaveChallenges
13
- include Warframe::REST::Utils
14
-
15
- # Gets the current conclave challenges.
16
- # @return [Array<Warframe::Models::ConclaveChallenge>]
17
- def conclave_challenges
18
- get('/conclaveChallenges', Warframe::Models::ConclaveChallenge)
19
- end
20
- end
21
- end
22
- end
23
- end
@@ -1,23 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'warframe/models/global_upgrade'
4
- require_relative '../utils'
5
-
6
- module Warframe
7
- module REST
8
- module API
9
- # API endpoint for getting information on current Global Upgrades data.
10
- #
11
- # {https://api.warframestat.us/pc/globalUpgrades Example Response}
12
- module GlobalUpgrades
13
- include Warframe::REST::Utils
14
-
15
- # Gets the current Global Upgrades data.
16
- # @return [Array<[Warframe::Models::GlobalUpgrade]>]
17
- def global_upgrades
18
- get('/globalUpgrades', Warframe::Models::GlobalUpgrade)
19
- end
20
- end
21
- end
22
- end
23
- end
@@ -1,23 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'warframe/models/invasion'
4
- require_relative '../utils'
5
-
6
- module Warframe
7
- module REST
8
- module API
9
- # API endpoint for getting information on current Invasions data.
10
- #
11
- # {https://api.warframestat.us/pc/invasions Example Response}
12
- module Invasions
13
- include Warframe::REST::Utils
14
-
15
- # Gets the current Invasions data.
16
- # @return [Array<[Warframe::Models::Invasion]>]
17
- def invasions
18
- get('/invasions', Warframe::Models::Invasion)
19
- end
20
- end
21
- end
22
- end
23
- end
@@ -1,23 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'warframe/models/news'
4
- require_relative '../utils'
5
-
6
- module Warframe
7
- module REST
8
- module API
9
- # API endpoint for getting information from the News route.
10
- #
11
- # {https://api.warframestat.us/pc/news Example Response}
12
- module News
13
- include Warframe::REST::Utils
14
-
15
- # Gets the current news data.
16
- # @return [Array<Warframe::Models::News>]
17
- def news
18
- get('/news', Warframe::Models::News)
19
- end
20
- end
21
- end
22
- end
23
- end
@@ -1,23 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'warframe/models/nightwave'
4
- require_relative '../utils'
5
-
6
- module Warframe
7
- module REST
8
- module API
9
- # API endpoint for getting information from the Nightwave route.
10
- #
11
- # {https://api.warframestat.us/pc/nightwave Example Response}
12
- module Nightwave
13
- include Warframe::REST::Utils
14
-
15
- # Gets the current Nightwave Mission data.
16
- # @return [Warframe::Models::Nightwave]
17
- def nightwave
18
- get('/nightwave', Warframe::Models::Nightwave)
19
- end
20
- end
21
- end
22
- end
23
- end
@@ -1,23 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'warframe/models/sortie'
4
- require_relative '../utils'
5
-
6
- module Warframe
7
- module REST
8
- module API
9
- # API endpoint for getting information on current Sortie data.
10
- #
11
- # {https://api.warframestat.us/pc/sortie Example Response}
12
- module Sortie
13
- include Warframe::REST::Utils
14
-
15
- # Gets the current sortie missions.
16
- # @return [Array<Warframe::Models::Sortie>]
17
- def sortie
18
- get('/sortie', Warframe::Models::Sortie)
19
- end
20
- end
21
- end
22
- end
23
- end
@@ -1,23 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'warframe/models/steel_path'
4
- require_relative '../utils'
5
-
6
- module Warframe
7
- module REST
8
- module API
9
- # API endpoint for getting information on current SteelPath data.
10
- #
11
- # {https://api.warframestat.us/pc/steelPath Example Response}
12
- module SteelPath
13
- include Warframe::REST::Utils
14
-
15
- # Steel Path data
16
- # @return [Warframe::Models::SteelPath]
17
- def steel_path
18
- get('/steelPath', Warframe::Models::SteelPath)
19
- end
20
- end
21
- end
22
- end
23
- end
@@ -1,23 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'warframe/models/syndicate_mission'
4
- require_relative '../utils'
5
-
6
- module Warframe
7
- module REST
8
- module API
9
- # API endpoint for getting information on current SyndicateMission data.
10
- #
11
- # {https://api.warframestat.us/pc/syndicateMissions Example Response}
12
- module SyndicateMissions
13
- include Warframe::REST::Utils
14
-
15
- # Gets the current syndicateMissions Data.
16
- # @return [Array<Warframe::Models::SyndicateMission>]
17
- def syndicate_missions
18
- get('/syndicateMissions', Warframe::Models::SyndicateMission)
19
- end
20
- end
21
- end
22
- end
23
- end
@@ -1,23 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'warframe/models/vallis_cycle'
4
- require_relative '../utils'
5
-
6
- module Warframe
7
- module REST
8
- module API
9
- # API endpoint for getting information on current VallisCycle data.
10
- #
11
- # {https://api.warframestat.us/pc/vallisCycle Example Response}
12
- module VallisCycle
13
- include Warframe::REST::Utils
14
-
15
- # Gets the current vallisCycle Data.
16
- # @return [Warframe::Models::VallisCycle]
17
- def vallis_cycle
18
- get('/vallisCycle', Warframe::Models::VallisCycle)
19
- end
20
- end
21
- end
22
- end
23
- end
@@ -1,39 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require_relative 'api/alerts'
4
- require_relative 'api/cambion_drift'
5
- require_relative 'api/cetus'
6
- require_relative 'api/conclave_challenges'
7
- require_relative 'api/global_upgrades'
8
- require_relative 'api/invasions'
9
- require_relative 'api/news'
10
- require_relative 'api/nightwave'
11
- require_relative 'api/sortie'
12
- require_relative 'api/steel_path'
13
- require_relative 'api/syndicate_missions'
14
- require_relative 'api/vallis_cycle'
15
-
16
- module Warframe
17
- # A REST-ful API service, provided by https://api.warframestat.us
18
- module REST
19
- # The API Router for getting live data.
20
- #
21
- # Attempting to have every accessible route from {https://docs.warframestat.us Warframe Stat}.
22
- #
23
- # Module names are 'routes' to this API. See {Warframe::REST::API::Alerts Alerts} for example.
24
- module API
25
- include Warframe::REST::API::Alerts
26
- include Warframe::REST::API::CambionDrift
27
- include Warframe::REST::API::Cetus
28
- include Warframe::REST::API::ConclaveChallenges
29
- include Warframe::REST::API::GlobalUpgrades
30
- include Warframe::REST::API::Invasions
31
- include Warframe::REST::API::News
32
- include Warframe::REST::API::Nightwave
33
- include Warframe::REST::API::Sortie
34
- include Warframe::REST::API::SteelPath
35
- include Warframe::REST::API::SyndicateMissions
36
- include Warframe::REST::API::VallisCycle
37
- end
38
- end
39
- end
@@ -1,42 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'warframe/client_wrapper'
4
- require_relative './api'
5
-
6
- module Warframe
7
- module REST
8
- # The main application Client for access live feed data.
9
- #
10
- # == Example Usage
11
- #
12
- # client = Warframe::REST::Client.new
13
- # client.nightwave.tag # => 'Radio Legion Intermission'
14
- #
15
- # == Accepted Platforms
16
- #
17
- # default = 'pc'
18
- # all_platorms = [ 'pc', 'ps4', 'xb1', 'swi' ]
19
- #
20
- # client = Waframe::REST::Client.new(platform: 'ps4')
21
- # client.platform # => 'ps4'
22
- # client.language # => 'en'
23
- #
24
- # == Accepted Languages
25
- #
26
- # default = 'en'
27
- # all_languages = [ 'de', 'es', 'en', 'fr', 'it', 'ko', 'pl', 'pt', 'ru', 'zh' ]
28
- #
29
- # client = Warframe::REST::Client.new(language: 'fr')
30
- # client.language # => 'fr'
31
- # client.platform # => 'pc'
32
- #
33
- # == Setting both Platform and Language
34
- #
35
- # client = Warframe::REST::Client.new(platform: 'ps4', language: 'de')
36
- # client.platform # => 'ps4'
37
- # client.language # => 'de'
38
- class Client < Warframe::ClientWrapper
39
- include Warframe::REST::API
40
- end
41
- end
42
- end