Class: Battlenet::D3Client
- Includes:
- D3
- Defined in:
- lib/battlenet/api/d3_client.rb
Instance Method Summary collapse
- #data(options = {}) ⇒ Object
-
#initialize(options = {}) ⇒ D3Client
constructor
A new instance of D3Client.
- #profile(options = {}) ⇒ Object
Methods inherited from Client
#base_uri, #domain, #endpoint, #get, #make_request
Constructor Details
#initialize(options = {}) ⇒ D3Client
Returns a new instance of D3Client.
12 13 14 15 16 17 |
# File 'lib/battlenet/api/d3_client.rb', line 12 def initialize( = {}) client_settings = { :endpoint => '/d3' } client_settings = client_settings.merge() super(client_settings) end |
Instance Method Details
#data(options = {}) ⇒ Object
23 24 25 |
# File 'lib/battlenet/api/d3_client.rb', line 23 def data( = {}) (, Battlenet::D3::Data) end |
#profile(options = {}) ⇒ Object
19 20 21 |
# File 'lib/battlenet/api/d3_client.rb', line 19 def profile( = {}) (, Battlenet::D3::Profile) end |