class Centaman::Service::GiftTicket

Attributes

department_id[R]

Public Instance Methods

after_init(args) click to toggle source
# File lib/centaman/service/gift_ticket.rb, line 6
def after_init(args)
  @department_id = args[:department_id]
end
endpoint() click to toggle source
# File lib/centaman/service/gift_ticket.rb, line 10
def endpoint
  '/ticket_services/Ticket'
end
object_class() click to toggle source
# File lib/centaman/service/gift_ticket.rb, line 14
def object_class
  Centaman::Object::GiftTicket
end
options() click to toggle source
Calls superclass method
# File lib/centaman/service/gift_ticket.rb, line 18
def options
  super + [
    { key: 'DepartmentID', value: department_id }
  ]
end