Sha256: e1c8251af549eb23ec23b8fca35612e659b9e26782840aad648b21e8f23de289

Contents?: true

Size: 371 Bytes

Versions: 1

Compression:

Stored size: 371 Bytes

Contents

module RubyApiPackCloudways
    module Api
        class CwServer

            # List - Servers
            def self.cw_server_list
                cw_api_list_server = Connection::CwConnect.new(CW_API_URL, "/server")
                return Oj.load(cw_api_list_server.cloudways_api_connection.body)["servers"]
            end

        end
    end         
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ruby_api_pack_cloudways-0.1.0.pre.3 lib/ruby_api_pack_cloudways/api/cw_server.rb