Class: SkypeR::Parser::GetProfileCommand
- Inherits:
-
CommandBase
- Object
- Yaparc::AbstractParser
- CommandBase
- SkypeR::Parser::GetProfileCommand
- Defined in:
- lib/skyper/command.rb
Overview
<get_profile_command> := GET PROFILE <profile_property>
Instance Attribute Summary
Attributes inherited from CommandBase
Instance Method Summary collapse
-
#initialize ⇒ GetProfileCommand
constructor
A new instance of GetProfileCommand.
Constructor Details
#initialize ⇒ GetProfileCommand
Returns a new instance of GetProfileCommand.
145 146 147 148 149 150 151 152 153 154 |
# File 'lib/skyper/command.rb', line 145 def initialize @parser = lambda do Yaparc::SeqParser.new(Yaparc::Symbol.new("GET"), Yaparc::Symbol.new("PROFILE"), ProfileProperty.new) do |_,_,property| {:command_instance => self, :property => property} end end @response = GetProfileResponse.new end |