Module: Hopo

Defined in:
lib/hopo.rb,
lib/hopo/api.rb,
lib/hopo/rater.rb,
lib/hopo/errors.rb,
lib/hopo/version.rb,
lib/hopo/utils/sorter.rb,
lib/hopo/rater/auto_rater.rb,
lib/hopo/rater/home_rater.rb,
lib/hopo/utils/calculator.rb,
lib/hopo/connections/request.rb,
lib/hopo/connections/response.rb,
lib/generators/hopo/install_generator.rb

Overview

Base Hopo Module

Defined Under Namespace

Modules: Connections, Generators, Utils Classes: API, AuthenticationError, AutoRater, Error, HomeRater, ParameterError, Rater

Constant Summary collapse

VERSION =
"0.0.8"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.api_keyObject

Returns the value of attribute api_key.



49
50
51
# File 'lib/hopo.rb', line 49

def api_key
  @api_key
end

Class Method Details

.auto_requestObject



59
60
61
# File 'lib/hopo.rb', line 59

def auto_request
  AutoRater.new
end

.home_requestObject



55
56
57
# File 'lib/hopo.rb', line 55

def home_request
  HomeRater.new
end

.new_request(line) ⇒ Object



51
52
53
# File 'lib/hopo.rb', line 51

def new_request(line)
  Rater.new(line)
end