Class: Profile::Parsing
- Inherits:
-
Object
- Object
- Profile::Parsing
- Defined in:
- lib/profile.rb
Instance Method Summary collapse
- #get(options) ⇒ Object
-
#initialize(clientw) ⇒ Parsing
constructor
A new instance of Parsing.
Constructor Details
#initialize(clientw) ⇒ Parsing
Returns a new instance of Parsing.
100 101 102 |
# File 'lib/profile.rb', line 100 def initialize(clientw) @clientw = clientw end |
Instance Method Details
#get(options) ⇒ Object
104 105 106 107 108 109 110 111 112 |
# File 'lib/profile.rb', line 104 def get() 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/parsing", query) return resp["data"] end |