Module: Message
- Defined in:
- lib/hackerearth_api/message.rb
Class Method Summary collapse
- .client_secret_nil ⇒ Object
- .invalid_argument_length(req, passed) ⇒ Object
- .lang_nil ⇒ Object
- .language_not_supported ⇒ Object
- .source_nil ⇒ Object
Class Method Details
.client_secret_nil ⇒ Object
2 3 4 5 |
# File 'lib/hackerearth_api/message.rb', line 2 def self.client_secret_nil "client_secret is needed. If you do not have a valid client_secret, please register your client at 'https://www.hackerearth.com/api/register'" end |
.invalid_argument_length(req, passed) ⇒ Object
19 20 21 |
# File 'lib/hackerearth_api/message.rb', line 19 def self.invalid_argument_length(req, passed) "wrong number of arguments passed, required #{req}, passed #{passed}" end |
.lang_nil ⇒ Object
11 12 13 |
# File 'lib/hackerearth_api/message.rb', line 11 def self.lang_nil "lang is a required parameter" end |
.language_not_supported ⇒ Object
15 16 17 |
# File 'lib/hackerearth_api/message.rb', line 15 def self.language_not_supported "lang is either invalid or not supported" end |
.source_nil ⇒ Object
7 8 9 |
# File 'lib/hackerearth_api/message.rb', line 7 def self.source_nil "source code is a required parameter" end |