Class: ThatLanguage::Client
- Inherits:
-
Object
- Object
- ThatLanguage::Client
- Defined in:
- lib/that_language/client.rb,
lib/that_language/client/query.rb,
lib/that_language/client/config.rb,
lib/that_language/client/version.rb,
lib/that_language/client/detect_query.rb,
lib/that_language/client/details_query.rb,
lib/that_language/client/version_query.rb,
lib/that_language/client/language_query.rb,
lib/that_language/client/available_query.rb,
lib/that_language/client/language_code_query.rb
Defined Under Namespace
Classes: AvailableQuery, Config, DetailsQuery, DetectQuery, LanguageCodeQuery, LanguageQuery, Query, VersionQuery
Constant Summary collapse
- VERSION =
"0.1.2"
Instance Attribute Summary collapse
-
#host ⇒ Object
readonly
Returns the value of attribute host.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(host:) ⇒ Client
constructor
A new instance of Client.
Constructor Details
#initialize(host:) ⇒ Client
Returns a new instance of Client.
17 18 19 |
# File 'lib/that_language/client.rb', line 17 def initialize(host:) @host = host end |
Instance Attribute Details
#host ⇒ Object (readonly)
Returns the value of attribute host.
15 16 17 |
# File 'lib/that_language/client.rb', line 15 def host @host end |