class MessageResponse

Public Class Methods

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

Public Instance Methods

is_success() click to toggle source
# File lib/fastlane/plugin/mobileiron/helper/message_response.rb, line 18
def is_success
  return message_key().include? "success"
end
localized_message() click to toggle source
# File lib/fastlane/plugin/mobileiron/helper/message_response.rb, line 14
def localized_message
  return @response_json_hash[:localizedMessage]
end
message_key() click to toggle source
# File lib/fastlane/plugin/mobileiron/helper/message_response.rb, line 10
def message_key
  return @response_json_hash[:messageKey]
end
type() click to toggle source
# File lib/fastlane/plugin/mobileiron/helper/message_response.rb, line 6
def type
  return @response_json_hash[:type]
end