Sha256: 716151f53a46809543be70ff99d3175266eda2adbbca7c6c3d01ae4504c5d32d

Contents?: true

Size: 455 Bytes

Versions: 3

Compression:

Stored size: 455 Bytes

Contents

class Response
  
  def self.failed_user_authentication_response
    {
      :json => {
        :success=>false, 
        :message => "Please Enter Correct Email/Password"
      }, 
      :status => 400
    }
  end
  
  def self.user_authentication_disabled_organization_response
    {
      :json =>{
        :success=>false, 
        :message => "Please renew your subscription or Contact your supplier"
      }, 
      :status => 401
    }
  end
  
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pshq_engine-0.1.6 app/models/response.rb
pshq_engine-0.1.5 app/models/response.rb
pshq_engine-0.0.1 app/models/response.rb