Sha256: 3b523ea5d13c49766f76a1a27b6f84e5b0341b1bdeaec02d946adc69065eeccf

Contents?: true

Size: 751 Bytes

Versions: 2

Compression:

Stored size: 751 Bytes

Contents

module MooMoo
  class Cookie < Base

    ##
    # Creates a cookie for use in commands where a cookie is required to access OpenSRS.
    #
    # http://www.opensrs.com/docs/apidomains/set_cookie.htm
    register_service :set, :cookie

    ##
    # Deletes a cookie.
    #
    # http://www.opensrs.com/docs/apidomains/delete_(cookie).htm
    register_service :delete, :cookie

    ##
    # Allows the client to change the domain associated with the current cookie.
    #
    # http://www.opensrs.com/docs/apidomains/update_(cookie).htm
    register_service :update, :cookie

    ##
    # Cleanly terminates the connection.
    #
    # http://www.opensrs.com/docs/apidomains/quit_session.htm
    register_service :quit_session, :session, :quit
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
moo_moo-0.3.0 lib/moo_moo/services/cookie.rb
moo_moo-0.2.0 lib/moo_moo/cookie.rb