Class: WiseGopher::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/wise_gopher/base.rb

Overview

Main inteface of the gem. Class to be inherited by the query class

Defined Under Namespace

Modules: ClassMethods, Methods

Class Method Summary collapse

Class Method Details

.inherited(base) ⇒ Object



8
9
10
11
12
13
14
15
# File 'lib/wise_gopher/base.rb', line 8

def self.inherited(base)
  base.class_eval do
    @raw_params = {}
    @params     = {}
  end
  base.include Methods
  base.extend  ClassMethods
end