Sha256: 74be45722c12f8f4cab28f0c18f47dfbdfb1e3533161a740df6531c4a253126a

Contents?: true

Size: 163 Bytes

Versions: 7

Compression:

Stored size: 163 Bytes

Contents

module Grape
  class API
    class << self
      def jsonapi_base_url(url = nil)
        namespace_inheritable(:jsonapi_base_url, url)
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
grape-jsonapi-resources-0.0.7 lib/grape-jsonapi-resources/api_options_extension.rb
grape-jsonapi-resources-0.0.6 lib/grape-jsonapi-resources/api_options_extension.rb
grape-jsonapi-resources-0.0.5 lib/grape-jsonapi-resources/api_options_extension.rb
grape-jsonapi-resources-0.0.4 lib/grape-jsonapi-resources/api_options_extension.rb
grape-jsonapi-resources-0.0.3 lib/grape-jsonapi-resources/api_options_extension.rb
grape-jsonapi-resources-0.0.2 lib/grape-jsonapi-resources/api_options_extension.rb
grape-jsonapi-resources-0.0.1 lib/grape-jsonapi-resources/api_options_extension.rb