lib/3scale/authorize_response.rb in 3scale_client-2.2.7 vs lib/3scale/authorize_response.rb in 3scale_client-2.2.8
- old
+ new
@@ -6,10 +6,12 @@
super
@usage_reports = []
end
attr_accessor :plan
+ attr_accessor :app_key
+ attr_accessor :redirect_url
class UsageReport
attr_reader :metric
attr_reader :period
attr_reader :current_value
@@ -30,10 +32,10 @@
end
def exceeded?
current_value > max_value
end
- end
+ end
attr_reader :usage_reports
def add_usage_report(options)
@usage_reports << UsageReport.new(options)