Class: LegacyReply

Inherits:
OpenShift::Model
  • Object
show all
Defined in:
app/models/legacy_reply.rb

Constant Summary collapse

API_VERSION =
"1.1.3"
API_CAPABILITY =
%w(placeholder)
C_CAPABILITY =
%w(namespace rhlogin ssh app_uuid debug alter cartridge cart_type action app_name api)

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeLegacyReply

Returns a new instance of LegacyReply.



8
9
10
11
12
13
14
# File 'app/models/legacy_reply.rb', line 8

def initialize
  @api = API_VERSION
  @api_c = API_CAPABILITY
  @broker_c = C_CAPABILITY
  @debug = ""
  @messages = nil
end

Instance Attribute Details

#apiObject

Returns the value of attribute api.



2
3
4
# File 'app/models/legacy_reply.rb', line 2

def api
  @api
end

#api_cObject

Returns the value of attribute api_c.



2
3
4
# File 'app/models/legacy_reply.rb', line 2

def api_c
  @api_c
end

#broker_cObject

Returns the value of attribute broker_c.



2
3
4
# File 'app/models/legacy_reply.rb', line 2

def broker_c
  @broker_c
end

#dataObject

Returns the value of attribute data.



2
3
4
# File 'app/models/legacy_reply.rb', line 2

def data
  @data
end

#debugObject

Returns the value of attribute debug.



2
3
4
# File 'app/models/legacy_reply.rb', line 2

def debug
  @debug
end

#exit_codeObject

Returns the value of attribute exit_code.



2
3
4
# File 'app/models/legacy_reply.rb', line 2

def exit_code
  @exit_code
end

#messagesObject

Returns the value of attribute messages.



2
3
4
# File 'app/models/legacy_reply.rb', line 2

def messages
  @messages
end

#resultObject

Returns the value of attribute result.



2
3
4
# File 'app/models/legacy_reply.rb', line 2

def result
  @result
end