Class: WHMCS::Quote

Inherits:
Base
  • Object
show all
Defined in:
lib/whmcs/quote.rb

Overview

WHMCS::Quote is the class for managing quotes

Class Method Summary collapse

Methods inherited from Base

parse_response, send_request

Class Method Details

.accept_quote(params = {}) ⇒ Object



122
123
124
125
# File 'lib/whmcs/quote.rb', line 122

def self.accept_quote(params = {})
  params.merge!(:action => 'acceptquote')
  send_request(params)
end

.create_quote(params = {}) ⇒ Object



39
40
41
42
# File 'lib/whmcs/quote.rb', line 39

def self.create_quote(params = {})
  params.merge!(:action => 'createquote')
  send_request(params)
end

.delete_quote(params = {}) ⇒ Object



94
95
96
97
# File 'lib/whmcs/quote.rb', line 94

def self.delete_quote(params = {})
  params.merge!(:action => 'deletequote')
  send_request(params)
end

.send_quote(params = {}) ⇒ Object



108
109
110
111
# File 'lib/whmcs/quote.rb', line 108

def self.send_quote(params = {})
  params.merge!(:action => 'sendquote')
  send_request(params)
end

.update_quote(params = {}) ⇒ Object



80
81
82
83
# File 'lib/whmcs/quote.rb', line 80

def self.update_quote(params = {})
  params.merge!(:action => 'updatequote')
  send_request(params)
end