module Unrestful

Constants

VERSION

Public Class Methods

configuration() click to toggle source
# File lib/unrestful.rb, line 12
def self.configuration
  @config || Unrestful::Config.new({})
end
configure(options = {}, &block) click to toggle source
# File lib/unrestful.rb, line 6
def self.configure(options = {}, &block)
  @config = Unrestful::Config.new(options)
  block.call(@config) if block.present?
  @config
end