Sha256: 03357a567bbf298442f0c9da8a831c0f9f5a210cda3c95dbb28c9cdea8bed4c6
Contents?: true
Size: 509 Bytes
Versions: 1
Compression:
Stored size: 509 Bytes
Contents
module SuperReceptionist class Notification def initialize(super_receptionist) @super_receptionis = super_receptionist end def list SuperReceptionist.submit(:get, url) end def registor_number(options = {}) SuperReceptionist.submit(:post, url, options) end def update(options = {}) SuperReceptionist.submit(:put, url, options) end private def url() "#{@super_receptionis.base_url}account/notifications/" end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
super_receptionist-0.1.0 | lib/super_receptionist/notification.rb |