Sha256: 1bba2d6d7b138747d0465b00077ad1d729709b974248873fbd62882fa2ce0e5b

Contents?: true

Size: 196 Bytes

Versions: 14

Compression:

Stored size: 196 Bytes

Contents

module ActionKitRest
  class Language < Base
    def base_path
      'language'
    end

    def find(iso_code)
      response = list(iso_code: iso_code)
      response.obj.first
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
action_kit_rest-0.4.4 lib/action_kit_rest/language.rb
action_kit_rest-0.4.3 lib/action_kit_rest/language.rb
action_kit_rest-0.4.2 lib/action_kit_rest/language.rb
action_kit_rest-0.4.1 lib/action_kit_rest/language.rb
action_kit_rest-0.4.0 lib/action_kit_rest/language.rb
action_kit_rest-0.3.8 lib/action_kit_rest/language.rb
action_kit_rest-0.3.7 lib/action_kit_rest/language.rb
action_kit_rest-0.3.6 lib/action_kit_rest/language.rb
action_kit_rest-0.3.5 lib/action_kit_rest/language.rb
action_kit_rest-0.3.4 lib/action_kit_rest/language.rb
action_kit_rest-0.3.3 lib/action_kit_rest/language.rb
action_kit_rest-0.3.2 lib/action_kit_rest/language.rb
action_kit_rest-0.3.1 lib/action_kit_rest/language.rb
action_kit_rest-0.3.0 lib/action_kit_rest/language.rb