class LabelsSummaryResponse
Public Class Methods
new(response_json_hash)
click to toggle source
# File lib/fastlane/plugin/mobileiron/helper/labels_summary_response.rb, line 2 def initialize(response_json_hash) @response_json_hash = response_json_hash end
Public Instance Methods
has_more?()
click to toggle source
# File lib/fastlane/plugin/mobileiron/helper/labels_summary_response.rb, line 27 def has_more? return @response_json_hash[:hasMore] end
messages()
click to toggle source
# File lib/fastlane/plugin/mobileiron/helper/labels_summary_response.rb, line 15 def messages return @response_json_hash[:messages] end
result_count()
click to toggle source
# File lib/fastlane/plugin/mobileiron/helper/labels_summary_response.rb, line 23 def result_count return @response_json_hash[:resultCount] end
results()
click to toggle source
# File lib/fastlane/plugin/mobileiron/helper/labels_summary_response.rb, line 6 def results results_hash = @response_json_hash[:results] array = [] results_hash.each { |i| array.push(LabelsSummaryResultsItem.new(i)) } return array end
total_count()
click to toggle source
# File lib/fastlane/plugin/mobileiron/helper/labels_summary_response.rb, line 19 def total_count return @response_json_hash[:totalCount] end