Sha256: 7642a43dbf835a75812be6564fae862654c913f96c738e9fc40ab33c96172673
Contents?: true
Size: 364 Bytes
Versions: 4
Compression:
Stored size: 364 Bytes
Contents
module Ivapi class Client class Hosting < Base attr_reader :hosting_id def initialize(client, hosting_id) super(client) @hosting_id = hosting_id end def information params = { command: 'hosting_info', id: hosting_id } get('/json.php', params) end alias info information end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
ivapi-1.5.0 | lib/ivapi/client/hosting.rb |
ivapi-1.4.0 | lib/ivapi/client/hosting.rb |
ivapi-1.3.0 | lib/ivapi/client/hosting.rb |
ivapi-1.2.0 | lib/ivapi/client/hosting.rb |