Class: Profile::Scoring
- Inherits:
-
Object
- Object
- Profile::Scoring
- Defined in:
- lib/profile.rb
Instance Method Summary collapse
-
#initialize(clientw) ⇒ Scoring
constructor
A new instance of Scoring.
- #list(options) ⇒ Object
Constructor Details
#initialize(clientw) ⇒ Scoring
Returns a new instance of Scoring.
117 118 119 |
# File 'lib/profile.rb', line 117 def initialize(clientw) @clientw = clientw end |
Instance Method Details
#list(options) ⇒ Object
121 122 123 124 125 126 127 128 129 |
# File 'lib/profile.rb', line 121 def list() query = { "source_id" => ['source_id'] } query = ReqUtils.add_if_not_blank(query, 'profile_id', ['profile_id']) query = ReqUtils.add_if_not_blank(query, 'profile_reference', ['profile_reference']) resp = @clientw.get("profile/scoring", query) return resp['data'] end |