Sha256: 4de1c36dc5488dd6032e4962d32d5869e3bfa22f51c5ac819cdc21d4c1adbaf9
Contents?: true
Size: 461 Bytes
Versions: 9
Compression:
Stored size: 461 Bytes
Contents
require 'flattr/language' module Flattr class Client module Languages # Public: Returns available languages on flattr # # Examples # # f = Flattr.new # f.languages # # => [Flattr::Language] # # Returns a Array with Flattr::Language inside def languages get("/rest/v2/languages").map do |language| Flattr::Language.new(language) end end end end end
Version data entries
9 entries across 9 versions & 1 rubygems