golf_switch 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. data/.gitignore +18 -0
  2. data/Gemfile +6 -0
  3. data/LICENSE.txt +22 -0
  4. data/README.md +127 -0
  5. data/Rakefile +1 -0
  6. data/examples/area_test.rb +15 -0
  7. data/examples/book_golf.rb +74 -0
  8. data/examples/cancel_booking.rb +78 -0
  9. data/examples/course_avail.rb +26 -0
  10. data/examples/course_avail_list.rb +33 -0
  11. data/examples/course_info.rb +15 -0
  12. data/examples/course_list.rb +15 -0
  13. data/examples/course_policy_test.rb +15 -0
  14. data/golf_switch.gemspec +20 -0
  15. data/lib/golf_switch.rb +42 -0
  16. data/lib/golf_switch/alt_rate_type.rb +28 -0
  17. data/lib/golf_switch/area.rb +52 -0
  18. data/lib/golf_switch/area_response.rb +27 -0
  19. data/lib/golf_switch/available_course.rb +53 -0
  20. data/lib/golf_switch/book_golf.rb +41 -0
  21. data/lib/golf_switch/book_golf_item.rb +50 -0
  22. data/lib/golf_switch/cancel_golf.rb +49 -0
  23. data/lib/golf_switch/cancel_golf_response.rb +16 -0
  24. data/lib/golf_switch/configuration.rb +28 -0
  25. data/lib/golf_switch/country.rb +30 -0
  26. data/lib/golf_switch/country_region.rb +29 -0
  27. data/lib/golf_switch/course.rb +28 -0
  28. data/lib/golf_switch/course_avail.rb +73 -0
  29. data/lib/golf_switch/course_avail_date.rb +25 -0
  30. data/lib/golf_switch/course_avail_list.rb +85 -0
  31. data/lib/golf_switch/course_avail_request.rb +56 -0
  32. data/lib/golf_switch/course_avail_time.rb +31 -0
  33. data/lib/golf_switch/course_info.rb +38 -0
  34. data/lib/golf_switch/course_info_course.rb +90 -0
  35. data/lib/golf_switch/course_list.rb +62 -0
  36. data/lib/golf_switch/course_list_course.rb +27 -0
  37. data/lib/golf_switch/course_policy.rb +14 -0
  38. data/lib/golf_switch/course_policy_response.rb +18 -0
  39. data/lib/golf_switch/get_alt_rate_type.rb +42 -0
  40. data/lib/golf_switch/get_course_policy.rb +50 -0
  41. data/lib/golf_switch/get_golf_booking.rb +49 -0
  42. data/lib/golf_switch/golf_book.rb +42 -0
  43. data/lib/golf_switch/golf_book_info.rb +17 -0
  44. data/lib/golf_switch/payment.rb +39 -0
  45. data/lib/golf_switch/player.rb +35 -0
  46. data/lib/golf_switch/region_area.rb +13 -0
  47. data/lib/golf_switch/request.rb +62 -0
  48. data/lib/golf_switch/score_card.rb +5 -0
  49. data/lib/golf_switch/version.rb +3 -0
  50. metadata +110 -0
@@ -0,0 +1,5 @@
1
+ module GolfSwitch
2
+ class ScoreCard < OpenStruct
3
+
4
+ end
5
+ end
@@ -0,0 +1,3 @@
1
+ module GolfSwitch
2
+ VERSION = "1.0.0"
3
+ end
metadata ADDED
@@ -0,0 +1,110 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: golf_switch
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - amardaxini
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2013-04-23 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: savon
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ~>
20
+ - !ruby/object:Gem::Version
21
+ version: 2.1.0
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: 2.1.0
30
+ description: Ruby Wrapper of golf switch API
31
+ email:
32
+ - amardaxini@gmail.com
33
+ executables: []
34
+ extensions: []
35
+ extra_rdoc_files: []
36
+ files:
37
+ - .gitignore
38
+ - Gemfile
39
+ - LICENSE.txt
40
+ - README.md
41
+ - Rakefile
42
+ - examples/area_test.rb
43
+ - examples/book_golf.rb
44
+ - examples/cancel_booking.rb
45
+ - examples/course_avail.rb
46
+ - examples/course_avail_list.rb
47
+ - examples/course_info.rb
48
+ - examples/course_list.rb
49
+ - examples/course_policy_test.rb
50
+ - golf_switch.gemspec
51
+ - lib/golf_switch.rb
52
+ - lib/golf_switch/alt_rate_type.rb
53
+ - lib/golf_switch/area.rb
54
+ - lib/golf_switch/area_response.rb
55
+ - lib/golf_switch/available_course.rb
56
+ - lib/golf_switch/book_golf.rb
57
+ - lib/golf_switch/book_golf_item.rb
58
+ - lib/golf_switch/cancel_golf.rb
59
+ - lib/golf_switch/cancel_golf_response.rb
60
+ - lib/golf_switch/configuration.rb
61
+ - lib/golf_switch/country.rb
62
+ - lib/golf_switch/country_region.rb
63
+ - lib/golf_switch/course.rb
64
+ - lib/golf_switch/course_avail.rb
65
+ - lib/golf_switch/course_avail_date.rb
66
+ - lib/golf_switch/course_avail_list.rb
67
+ - lib/golf_switch/course_avail_request.rb
68
+ - lib/golf_switch/course_avail_time.rb
69
+ - lib/golf_switch/course_info.rb
70
+ - lib/golf_switch/course_info_course.rb
71
+ - lib/golf_switch/course_list.rb
72
+ - lib/golf_switch/course_list_course.rb
73
+ - lib/golf_switch/course_policy.rb
74
+ - lib/golf_switch/course_policy_response.rb
75
+ - lib/golf_switch/get_alt_rate_type.rb
76
+ - lib/golf_switch/get_course_policy.rb
77
+ - lib/golf_switch/get_golf_booking.rb
78
+ - lib/golf_switch/golf_book.rb
79
+ - lib/golf_switch/golf_book_info.rb
80
+ - lib/golf_switch/payment.rb
81
+ - lib/golf_switch/player.rb
82
+ - lib/golf_switch/region_area.rb
83
+ - lib/golf_switch/request.rb
84
+ - lib/golf_switch/score_card.rb
85
+ - lib/golf_switch/version.rb
86
+ homepage: ''
87
+ licenses: []
88
+ post_install_message:
89
+ rdoc_options: []
90
+ require_paths:
91
+ - lib
92
+ required_ruby_version: !ruby/object:Gem::Requirement
93
+ none: false
94
+ requirements:
95
+ - - ! '>='
96
+ - !ruby/object:Gem::Version
97
+ version: '0'
98
+ required_rubygems_version: !ruby/object:Gem::Requirement
99
+ none: false
100
+ requirements:
101
+ - - ! '>='
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ requirements: []
105
+ rubyforge_project:
106
+ rubygems_version: 1.8.25
107
+ signing_key:
108
+ specification_version: 3
109
+ summary: Ruby Wrapper of golf switch API more info devxml.golfswitch.com/examples/definitions.htm,https://devxml.golfswitch.com/golfservice.asmx
110
+ test_files: []