Sha256: a87892a74614d7f2727f5ab5d02246db95f87cc7372790bf4225a7adfb9944da
Contents?: true
Size: 470 Bytes
Versions: 5
Compression:
Stored size: 470 Bytes
Contents
# frozen_string_literal: true class Zendesk2::GetHelpCenterSubscription include Zendesk2::Request include Zendesk2::HelpCenter::SubscriptionRequest request_method :get request_path do |r| content_path = "/#{r.route_prefix}/#{r.plural_content_type}" content_path + "/#{r.content_id}/subscriptions/#{r.subscription_id}.json" end def mock(_params = {}) mock_response('subscription' => find!(:help_center_subscriptions, subscription_id)) end end
Version data entries
5 entries across 5 versions & 1 rubygems