Sha256: 4fae6a8bb0dc0926376081140cecccf5fc8797ed19bd0e947c63cd83488d5b45
Contents?: true
Size: 453 Bytes
Versions: 8
Compression:
Stored size: 453 Bytes
Contents
module Centaman class Service::GiftTicket < Centaman::Service include Centaman::JsonWrapper attr_reader :department_id def after_init(args) @department_id = args[:department_id] || 100067 end def endpoint '/ticket_services/Ticket' end def object_class Centaman::Object::GiftTicket end def options super + [ { key: 'DepartmentID', value: department_id } ] end end end
Version data entries
8 entries across 8 versions & 1 rubygems