Class: Wordchuck::Client
- Inherits:
-
Object
- Object
- Wordchuck::Client
- Defined in:
- lib/wordchuck/client.rb
Class Method Summary collapse
Class Method Details
.get_locale(locale) {|rh| ... } ⇒ Object
27 28 29 30 31 |
# File 'lib/wordchuck/client.rb', line 27 def get_locale(locale) rh = submit_request("/v1/project/content/#{locale}") yield(rh) if (not rh.nil?) && block_given? rh end |
.get_locales {|rh| ... } ⇒ Object
21 22 23 24 25 |
# File 'lib/wordchuck/client.rb', line 21 def get_locales rh = submit_request('/v1/project/locales') yield(rh) if (not rh.nil?) && block_given? rh end |