Sha256: 1295041c6d79a43b4468d99843c3a3a13bba350042ed54f85cf417374c642dca
Contents?: true
Size: 598 Bytes
Versions: 8
Compression:
Stored size: 598 Bytes
Contents
module Gupshup module REST class Api class V1 < Version ## # Initialize the V1 version of Api def initialize(domain) super @version = 'v1' @solution = {} end def messages(sid=:unset) raise ArgumentError, 'sid cannot be nil' if sid.nil? @messages = V1::MessageList.new(@version, src_name: @solution[:sid], ) @messages end ## # Provide a user friendly representation def to_s '<Gupshup::REST::Api::V1>' end end end end end
Version data entries
8 entries across 8 versions & 1 rubygems