class Ivapi::Client::Hosting
Attributes
hosting_id[R]
Public Class Methods
new(client, hosting_id)
click to toggle source
Calls superclass method
Ivapi::Client::Base::new
# File lib/ivapi/client/hosting.rb, line 8 def initialize(client, hosting_id) super(client) @hosting_id = hosting_id end
Public Instance Methods
information()
click to toggle source
# File lib/ivapi/client/hosting.rb, line 13 def information params = { command: 'hosting_info', id: hosting_id } get('/json.php', params) end
Also aliased as: info