class GfreshPoint::RequestObjects::ListUserPointsRequest
Attributes
app_id[R]
event_name[R]
origin_id[R]
user_id[R]
Public Class Methods
new(app_id, user_id, event_name, origin_id)
click to toggle source
# File lib/gfresh_point/request_objects/list_user_points_request.rb, line 6 def initialize(app_id, user_id, event_name, origin_id) @app_id = app_id @user_id = user_id @event_name = event_name @origin_id = origin_id if user_id.blank? add_error('user_id', "User id can not be blank") end if app_id.blank? add_error('app_id', "App id can not be blank") end end