Class: Fog::Support::StormOnDemand::Real
- Inherits:
-
Object
- Object
- Fog::Support::StormOnDemand::Real
show all
- Includes:
- Fog::StormOnDemand::Shared
- Defined in:
- lib/fog/support/storm_on_demand.rb,
lib/fog/support/storm_on_demand/requests/add_feedback.rb,
lib/fog/support/storm_on_demand/requests/authenticate.rb,
lib/fog/support/storm_on_demand/requests/close_ticket.rb,
lib/fog/support/storm_on_demand/requests/list_tickets.rb,
lib/fog/support/storm_on_demand/requests/reply_ticket.rb,
lib/fog/support/storm_on_demand/requests/create_ticket.rb,
lib/fog/support/storm_on_demand/requests/reopen_ticket.rb,
lib/fog/support/storm_on_demand/requests/get_active_alert.rb,
lib/fog/support/storm_on_demand/requests/list_ticket_types.rb,
lib/fog/support/storm_on_demand/requests/get_ticket_details.rb,
lib/fog/support/storm_on_demand/requests/add_transaction_feedback.rb
Constant Summary
Fog::StormOnDemand::Shared::API_URL, Fog::StormOnDemand::Shared::API_VERSION
Instance Method Summary
collapse
#initialize, #reload, #request
Instance Method Details
#add_feedback(options = {}) ⇒ Object
5
6
7
8
9
10
|
# File 'lib/fog/support/storm_on_demand/requests/add_feedback.rb', line 5
def add_feedback(options = {})
request(
:path => "/Support/Ticket/addFeedback",
:body => Fog::JSON.encode(:params => options)
)
end
|
#add_transaction_feedback(options = {}) ⇒ Object
5
6
7
8
9
10
|
# File 'lib/fog/support/storm_on_demand/requests/add_transaction_feedback.rb', line 5
def add_transaction_feedback(options = {})
request(
:path => "/Support/Ticket/addTransactionFeedback",
:body => Fog::JSON.encode(:params => options)
)
end
|
#authenticate(options = {}) ⇒ Object
5
6
7
8
9
10
|
# File 'lib/fog/support/storm_on_demand/requests/authenticate.rb', line 5
def authenticate(options = {})
request(
:path => "/Support/Ticket/authenticate",
:body => Fog::JSON.encode(:params => options)
)
end
|
#close_ticket(options = {}) ⇒ Object
5
6
7
8
9
10
|
# File 'lib/fog/support/storm_on_demand/requests/close_ticket.rb', line 5
def close_ticket(options = {})
request(
:path => "/Support/Ticket/close",
:body => Fog::JSON.encode(:params => options)
)
end
|
#create_ticket(options = {}) ⇒ Object
5
6
7
8
9
10
|
# File 'lib/fog/support/storm_on_demand/requests/create_ticket.rb', line 5
def create_ticket(options = {})
request(
:path => "/Support/Ticket/create",
:body => Fog::JSON.encode(:params => options)
)
end
|
#get_active_alert(options = {}) ⇒ Object
5
6
7
8
9
10
|
# File 'lib/fog/support/storm_on_demand/requests/get_active_alert.rb', line 5
def get_active_alert(options = {})
request(
:path => "/Support/Alert/getActive",
:body => Fog::JSON.encode(:params => options)
)
end
|
#get_ticket_details(options = {}) ⇒ Object
5
6
7
8
9
10
|
# File 'lib/fog/support/storm_on_demand/requests/get_ticket_details.rb', line 5
def get_ticket_details(options = {})
request(
:path => "/Support/Ticket/details",
:body => Fog::JSON.encode(:params => options)
)
end
|
#list_ticket_types(options = {}) ⇒ Object
5
6
7
8
9
10
|
# File 'lib/fog/support/storm_on_demand/requests/list_ticket_types.rb', line 5
def list_ticket_types(options = {})
request(
:path => "/Support/Ticket/types",
:body => Fog::JSON.encode(:params => options)
)
end
|
#list_tickets(options = {}) ⇒ Object
5
6
7
8
9
10
|
# File 'lib/fog/support/storm_on_demand/requests/list_tickets.rb', line 5
def list_tickets(options = {})
request(
:path => "/Support/Ticket/list",
:body => Fog::JSON.encode(:params => options)
)
end
|
#reopen_ticket(options = {}) ⇒ Object
5
6
7
8
9
10
|
# File 'lib/fog/support/storm_on_demand/requests/reopen_ticket.rb', line 5
def reopen_ticket(options = {})
request(
:path => "/Support/Ticket/reopen",
:body => Fog::JSON.encode(:params => options)
)
end
|
#reply_ticket(options = {}) ⇒ Object
5
6
7
8
9
10
|
# File 'lib/fog/support/storm_on_demand/requests/reply_ticket.rb', line 5
def reply_ticket(options = {})
request(
:path => "/Support/Ticket/reply",
:body => Fog::JSON.encode(:params => options)
)
end
|