Sha256: 04ed9661677ccbf37ed169701e262ce91c04862cd393242d67f2581d19edd39a

Contents?: true

Size: 1.3 KB

Versions: 3

Compression:

Stored size: 1.3 KB

Contents

module ESP
  # Use contact requests to send a support or feature request to Evident.io.
  class ContactRequest < ESP::Resource
    # Not Implemented. You cannot search for ContactRequest.
    #
    # @return [void]
    def self.find(*)
      fail ESP::NotImplementedError
    end

    # Not Implemented. You cannot search for ContactRequest.
    #
    # @return [void]
    def self.where(*)
      fail ESP::NotImplementedError
    end

    # Not Implemented. You cannot update a ContactRequest.
    #
    # @return [void]
    def update
      fail ESP::NotImplementedError
    end

    # Not Implemented. You cannot destroy a ContactRequest.
    #
    # @return [void]
    def destroy
      fail ESP::NotImplementedError
    end

    # @!method self.create(attributes={})
    #   Create a contact request.
    #
    #   *call-seq* -> +create(attributes={})+
    #
    #   @param attributes [Hash] Required hash of contact request attributes
    #     ===== Valid Attributes
    #
    #     See {API documentation}[http://api-docs.evident.io?ruby#contact-request-create] for valid arguments
    #   @return [ESP::ContactRequest]
    #   @example
    #     contact_request = ESP::ContactRequest.create(request_type: 'feature', title: 'My great feature idea', description: 'This is my idea for a really useful feature...')
    #
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
esp_sdk-2.8.0 lib/esp/resources/contact_request.rb
esp_sdk-2.7.0 lib/esp/resources/contact_request.rb
esp_sdk-2.6.0 lib/esp/resources/contact_request.rb