class IIJ::Sakagura::GP::Client
Constants
- DEFAULT_OPTIONS
Public Class Methods
new(opts = {})
click to toggle source
# File lib/iij/sakagura/gp/client.rb, line 15 def initialize(opts = {}) opts = DEFAULT_OPTIONS.merge(opts) @client = ::IIJ::Sakagura::Core::QueryClient.new(opts) end
Public Instance Methods
gp(gp_service_code)
click to toggle source
# File lib/iij/sakagura/gp/client.rb, line 22 def gp(gp_service_code) GP.new(self, gp_service_code) end
gp_service_code_list()
click to toggle source
# File lib/iij/sakagura/gp/client.rb, line 26 def gp_service_code_list post("GetGpServiceCodeList")["GpServiceCodeList"] end