Sha256: 252da1979bd79e9db6da7679c9c51ae04b3885bfa2abf949cd4865162f0b46eb

Contents?: true

Size: 368 Bytes

Versions: 16

Compression:

Stored size: 368 Bytes

Contents

module Localeapp
  module Routes
    module Import
      def import_endpoint(options = {})
        [:post, import_url(options)]
      end

      def import_url(options={})
        http_scheme.build(base_options.merge(:path => import_path)).to_s
      end

    private

      def import_path(format = nil)
        project_path << '/import/'
      end
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
localeapp-3.3.0 lib/localeapp/routes/import.rb
localeapp-3.2.0 lib/localeapp/routes/import.rb
localeapp-3.1.3 lib/localeapp/routes/import.rb
localeapp-3.1.2 lib/localeapp/routes/import.rb
localeapp-3.1.1 lib/localeapp/routes/import.rb
localeapp-3.1.0 lib/localeapp/routes/import.rb
localeapp-3.0.1 lib/localeapp/routes/import.rb
localeapp-3.0.0 lib/localeapp/routes/import.rb
localeapp-2.5.0 lib/localeapp/routes/import.rb
localeapp-2.4.0 lib/localeapp/routes/import.rb
localeapp-2.3.0 lib/localeapp/routes/import.rb
localeapp-2.2.0 lib/localeapp/routes/import.rb
localeapp-2.1.1 lib/localeapp/routes/import.rb
localeapp-2.1.0 lib/localeapp/routes/import.rb
localeapp-2.0.0 lib/localeapp/routes/import.rb
localeapp-1.0.2 lib/localeapp/routes/import.rb