Module: Avaya
- Defined in:
- lib/avaya.rb,
lib/avaya/tftp.rb,
lib/avaya/version.rb,
lib/avaya/dir_list.rb,
lib/avaya/endpoint.rb,
lib/avaya/call_list.rb,
lib/avaya/hunt_info.rb,
lib/avaya/hunt_list.rb,
lib/avaya/member_of.rb,
lib/avaya/user_info.rb,
lib/avaya/user_list.rb,
lib/avaya/configuration.rb,
lib/generators/avaya/install_generator.rb
Defined Under Namespace
Modules: Configuration, Generators Classes: CallList, DirList, HuntInfo, HuntList, MemberOf, TFTP, UserInfo, UserList
Constant Summary collapse
- VERSION =
"0.0.6"
Instance Attribute Summary collapse
-
#file_data ⇒ Object
Returns the value of attribute file_data.
-
#random_file ⇒ Object
readonly
Returns the value of attribute random_file.
Class Method Summary collapse
Instance Attribute Details
#file_data ⇒ Object
Returns the value of attribute file_data.
3 4 5 |
# File 'lib/avaya/tftp.rb', line 3 def file_data @file_data end |
#random_file ⇒ Object (readonly)
Returns the value of attribute random_file.
4 5 6 |
# File 'lib/avaya/tftp.rb', line 4 def random_file @random_file end |
Class Method Details
.endpoint(end_point, var2 = nil) ⇒ Object
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
# File 'lib/avaya/endpoint.rb', line 2 def self.endpoint(end_point, var2 = nil) endpoints = { who_is: "nasystem/who_is", licence_list: "nasystem/licence_list", user_list: "nasystem/user_list#{var2}", hunt_list: "nasystem/hunt_list", dir_list: "nasystem/dir_list", extn_list: "nasystem/extn_list", accountCode: "nasystem/AccountCode", user_info: "nasystem/user_info/#{var2}", user_info2: "nasystem/user_info2/#{var2}", user_info3: "nasystem/user_info3/#{var2}", member_of: "nasystem/MemberOf/#{var2}", call_list: "nasystem/call_list/1/1", call_info: "nasystem/call_info/#{var2}", call_info2: "nasystem/call_info2/#{var2}", hunt_info: "nasystem/hunt_info/#{var2}", } endpoints[end_point] end |