RubyGems
npm
Organizations
Log in
Sign up
RubyGems
najdi-sms
Versions diffs
0.0.1 → 0.0.2
najdi-sms 0.0.1 → 0.0.2
Sign up to get
free
protection for your applications and to get access to all the features.
Files changed (2)
hide
show
data/lib/najdi-sms.rb
+4
-0
metadata
+1
-1
data/lib/najdi-sms.rb
CHANGED
@@ -33,6 +33,10 @@ class NajdiSms
33
33
end
34
34
end
35
35
36
+
def self.send_sms(username, password, number, message)
37
+
self.new(username, password).send_sms(number, message)
38
+
end
39
+
36
40
private
37
41
def agent
38
42
@agent ||= Mechanize.new do |agent|
metadata
CHANGED
@@ -1,7 +1,7 @@
1
1
--- !ruby/object:Gem::Specification
2
2
name: najdi-sms
3
3
version: !ruby/object:Gem::Version
4
-
version: 0.0.
1
4
+
version: 0.0.
2
5
5
prerelease:
6
6
platform: ruby
7
7
authors: