class KonoEppPoll

Public Class Methods

new( op = :req ) click to toggle source
Calls superclass method KonoEppCommand::new
# File lib/epp/epp_command/poll.rb, line 2
def initialize( op = :req )
  super( nil, nil )

  command = root.elements['command']
  poll = command.add_element( "poll" )

  poll.add_attribute( "op", op.to_s )
end

Public Instance Methods

ack_id=( id ) click to toggle source
# File lib/epp/epp_command/poll.rb, line 11
def ack_id=( id )
  poll = root.elements['command/poll']

  poll.add_attribute( "msgID", id )
end