Class: FormParameter

Inherits:
Object
  • Object
show all
Defined in:
lib/foundation/FormParameter.rb

Instance Method Summary collapse

Constructor Details

#initialize(key = nil, value = nil) ⇒ FormParameter

Returns a new instance of FormParameter.



4
5
6
7
# File 'lib/foundation/FormParameter.rb', line 4

def initialize(key=nil, value=nil)
  @key=key
  @value=value
end

Instance Method Details

#getKeyObject



9
10
11
# File 'lib/foundation/FormParameter.rb', line 9

def getKey
  @key
end

#getValueObject



13
14
15
# File 'lib/foundation/FormParameter.rb', line 13

def getValue
  @value
end

#setKey(key) ⇒ Object



17
18
19
# File 'lib/foundation/FormParameter.rb', line 17

def setKey(key)
  @key=key
end

#setValue(value) ⇒ Object



21
22
23
# File 'lib/foundation/FormParameter.rb', line 21

def setValue(value)
  @value=value
end