Sha256: f2ad861d55b8f2220beea80fe8fa18fc877d01c666f666d9be2e5a10e3f6fcd0
Contents?: true
Size: 698 Bytes
Versions: 2
Compression:
Stored size: 698 Bytes
Contents
require "active_model_serializers" require "api-pagination" require "kaminari" require "ransack" require "responders" require "simple_token_authentication" require "versionist" require "power_api/engine" module PowerApi extend self # You can add, in this module, your own configuration options as in the example below... # # attr_writer :my_option # # def my_option # return "Default Value" unless @my_option # @my_option # end # # Then, you can customize the default behaviour (typically in a Rails initializer) like this: # # PowerApi.setup do |config| # config.root_url = "Another value" # end def setup yield self require "power_api" end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
power_api-2.1.1 | lib/power_api.rb |
power_api-2.1.0 | lib/power_api.rb |