class AppStoreAppsMessageResponse

Public Class Methods

new(response_json_hash) click to toggle source
# File lib/fastlane/plugin/mobileiron/helper/appstore_apps_message_response.rb, line 2
def initialize(response_json_hash)
   @response_json_hash = response_json_hash
end

Public Instance Methods

messages() click to toggle source
# File lib/fastlane/plugin/mobileiron/helper/appstore_apps_message_response.rb, line 10
def messages
  messages_hash = @response_json_hash[:messages]
  array = []
  messages_hash.each { |i|
    array.push(MessageResponse.new(i))
  }
  return array
end
results() click to toggle source
# File lib/fastlane/plugin/mobileiron/helper/appstore_apps_message_response.rb, line 6
def results
  return @response_json_hash[:results]
end