Class: BrazeRuby::REST::SubscriptionUserStatus

Inherits:
Base
  • Object
show all
Defined in:
lib/braze_ruby/rest/subscription_user_status.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(api_key, braze_url, options, **params) ⇒ SubscriptionUserStatus

Returns a new instance of SubscriptionUserStatus.



8
9
10
11
# File 'lib/braze_ruby/rest/subscription_user_status.rb', line 8

def initialize(api_key, braze_url, options, **params)
  @params = params
  super(api_key, braze_url, options)
end

Instance Attribute Details

#paramsObject (readonly)

Returns the value of attribute params.



6
7
8
# File 'lib/braze_ruby/rest/subscription_user_status.rb', line 6

def params
  @params
end

Instance Method Details

#performObject



13
14
15
16
17
# File 'lib/braze_ruby/rest/subscription_user_status.rb', line 13

def perform
  http.get("/subscription/user/status", {
    **params
  })
end