mad_mimi_two 0.5.5 → 0.5.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/README.rdoc +17 -0
  2. data/lib/mad_mimi_two/support.rb +2 -2
  3. metadata +3 -3
data/README.rdoc CHANGED
@@ -87,6 +87,23 @@ gem install mad_mimi_two (it is now up on rubygems.org)
87
87
 
88
88
  Apologies but this needs work. I have simple tests in my application but nothing spectacular.
89
89
 
90
+ == DeskTop TESTING:
91
+
92
+ There is a small command line program where you can test your api settings etc. 'send_mimi.rb'
93
+ example usage is as follows: (NOTE key is in quotes)
94
+
95
+ send_mimi.rb -e xxxx@ficonab.com -p new_crm -k 'keyvalue' -u xxxx@yyyy.com -s testing -h "{:user => 'test', :url => 'test.estormtech.com' }"
96
+ # email is xxxxx@ficonab.com
97
+ # promotion is new_crm
98
+ # api key zzzzzz
99
+ # username is qqqqq
100
+ # subject is testing
101
+ # hashvalues are {:user => 'test', :url => 'test.estormtech.com' }
102
+ warning: peer certificate won't be verified in this SSL session
103
+ 1282604803 # this is the return value from mad mimi
104
+
105
+
106
+
90
107
  == LICENSE:
91
108
 
92
109
  (The MIT License)
@@ -9,7 +9,7 @@ module MadMimiTwo
9
9
  # puts "argv are #{params}"
10
10
  temp_hash = {}
11
11
  opts.on("-u","--username VAL", String) {|val| temp_hash[:username] = val
12
- puts "# username is #{val}" }
12
+ puts "# mad mimi username is #{val}" }
13
13
  opts.on("-e","--email VAL", String) {|val| temp_hash[:email] = val
14
14
  puts "# email is #{temp_hash[:email]}" }
15
15
  opts.on("-h","--hashvalues VAL", String) {|val| temp_hash[:hashvalues] = val
@@ -25,7 +25,7 @@ module MadMimiTwo
25
25
  puts "# subject is #{val}" }
26
26
  opts.on("-d","--debug", "turn on debug") { |val| temp_hash[:debug ] = true }
27
27
  opts.on("-k","--key VAL", String) { |val| temp_hash[:key ] = val
28
- puts "# api key #{temp_hash[:key]}" }
28
+ puts "# mad mimi api key #{temp_hash[:key]}" }
29
29
  opts.on("-H","--help", "get help message") { |val| temp_hash[:help ] = true }
30
30
 
31
31
  opts.parse(params)
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mad_mimi_two
3
3
  version: !ruby/object:Gem::Version
4
- hash: 1
4
+ hash: 7
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 5
9
- - 5
10
- version: 0.5.5
9
+ - 6
10
+ version: 0.5.6
11
11
  platform: ruby
12
12
  authors:
13
13
  - scott sproule