Module: Sonar
- Defined in:
- lib/sonar.rb,
lib/sonar/user.rb,
lib/sonar/client.rb,
lib/sonar/search.rb,
lib/sonar/cli/cli.rb,
lib/sonar/request.rb,
lib/sonar/version.rb,
lib/sonar/cli/rcfile.rb,
lib/sonar/certificate.rb,
lib/sonar/registration.rb
Defined Under Namespace
Modules: Certificate, Registration, Request, Search, User Classes: CLI, Client, RCFile
Constant Summary collapse
- VERSION =
"0.1.3"
Class Attribute Summary collapse
-
.access_token ⇒ Object
Returns the value of attribute access_token.
-
.api_url ⇒ Object
Returns the value of attribute api_url.
-
.api_version ⇒ Object
Returns the value of attribute api_version.
-
.email ⇒ Object
Returns the value of attribute email.
Class Method Summary collapse
-
.configure { ... } ⇒ Object
Configure default.
Class Attribute Details
.access_token ⇒ Object
Returns the value of attribute access_token.
10 11 12 |
# File 'lib/sonar.rb', line 10 def access_token @access_token end |
.api_url ⇒ Object
Returns the value of attribute api_url.
10 11 12 |
# File 'lib/sonar.rb', line 10 def api_url @api_url end |
.api_version ⇒ Object
Returns the value of attribute api_version.
10 11 12 |
# File 'lib/sonar.rb', line 10 def api_version @api_version end |
.email ⇒ Object
Returns the value of attribute email.
10 11 12 |
# File 'lib/sonar.rb', line 10 def email @email end |
Class Method Details
.configure { ... } ⇒ Object
Configure default
16 17 18 19 20 |
# File 'lib/sonar.rb', line 16 def configure load_defaults yield self true end |