sms_masking 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.DS_Store +0 -0
- data/lib/sms_masking/phone_book.rb +16 -0
- data/lib/sms_masking/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b69bbc682bb762451e13e4207dbd56b6c4120411
|
4
|
+
data.tar.gz: bbbeb2ae4ab0a959f103118419f494ee0d690829
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8b6d3d95037dea87d6ae7b496d36ddf8bebefb70b97f69f57696b604380c0ec27f5387c4025f726250dd65c4e612c45e37faaf8e87c1e71e208911cf22b133bc
|
7
|
+
data.tar.gz: d8d02f90835e9a07da6c68ec7bc3fd205269b0dbd3640526a4190ade6bd7aba09379794c0b5c8d7e16951f44115744c58b644cbd7933b3ae67b38a784c5cdc30
|
data/.DS_Store
CHANGED
Binary file
|
@@ -2,6 +2,7 @@ module SmsMasking
|
|
2
2
|
module PhoneBook
|
3
3
|
|
4
4
|
# ==== Attributes
|
5
|
+
#
|
5
6
|
# * +name+ : Contact Name
|
6
7
|
# * +mobile+ : Recipient
|
7
8
|
# * +group+ : Contact Group Name
|
@@ -10,6 +11,7 @@ module SmsMasking
|
|
10
11
|
# * +desc+ (optional) : Contact Description
|
11
12
|
#
|
12
13
|
# ==== Example
|
14
|
+
#
|
13
15
|
# sms.add_phone_book({
|
14
16
|
# name: "John Doe",
|
15
17
|
# mobile: "085699999999",
|
@@ -27,6 +29,7 @@ module SmsMasking
|
|
27
29
|
end
|
28
30
|
|
29
31
|
# ==== Attributes
|
32
|
+
#
|
30
33
|
# * +id+ : Contact ID Number
|
31
34
|
# * +name+ : Contact Name
|
32
35
|
# * +mobile+ : Recipient
|
@@ -36,6 +39,7 @@ module SmsMasking
|
|
36
39
|
# * +desc+ (optional) : Contact Description
|
37
40
|
#
|
38
41
|
# ==== Example
|
42
|
+
#
|
39
43
|
# sms.edit_phone_book({
|
40
44
|
# id: 1,
|
41
45
|
# name: "John Doe",
|
@@ -54,9 +58,11 @@ module SmsMasking
|
|
54
58
|
end
|
55
59
|
|
56
60
|
# ==== Attributes
|
61
|
+
#
|
57
62
|
# * +id+ : Contact ID Number
|
58
63
|
#
|
59
64
|
# ==== Example
|
65
|
+
#
|
60
66
|
# sms.delete_phone_book({id: 1})
|
61
67
|
#
|
62
68
|
def delete_phone_book(params = {})
|
@@ -67,10 +73,12 @@ module SmsMasking
|
|
67
73
|
end
|
68
74
|
|
69
75
|
# ==== Attributes
|
76
|
+
#
|
70
77
|
# * +page+ : Page Number (default=1)
|
71
78
|
# * +size+ : number of records per page (default=10)
|
72
79
|
#
|
73
80
|
# ==== Example
|
81
|
+
#
|
74
82
|
# sms.list_phone_book({
|
75
83
|
# page: 1,
|
76
84
|
# size: 10
|
@@ -84,11 +92,13 @@ module SmsMasking
|
|
84
92
|
end
|
85
93
|
|
86
94
|
# ==== Attributes
|
95
|
+
#
|
87
96
|
# * +page+ : Page Number (default=1)
|
88
97
|
# * +size+ : number of records per page (default=10)
|
89
98
|
# * +group+ : Group Name
|
90
99
|
#
|
91
100
|
# ==== Example
|
101
|
+
#
|
92
102
|
# sms.list_phone_book_by_group({
|
93
103
|
# page: 1,
|
94
104
|
# size: 10,
|
@@ -103,9 +113,11 @@ module SmsMasking
|
|
103
113
|
end
|
104
114
|
|
105
115
|
# ==== Attributes
|
116
|
+
#
|
106
117
|
# * +id+ : Contact ID Number
|
107
118
|
#
|
108
119
|
# ==== Example
|
120
|
+
#
|
109
121
|
# sms.contact_detail({id: 1})
|
110
122
|
#
|
111
123
|
def contact_detail(params = {})
|
@@ -116,9 +128,11 @@ module SmsMasking
|
|
116
128
|
end
|
117
129
|
|
118
130
|
# ==== Attributes
|
131
|
+
#
|
119
132
|
# * +name+ : Name to search
|
120
133
|
#
|
121
134
|
# ==== Example
|
135
|
+
#
|
122
136
|
# sms.find_contact({name: "John Doe"})
|
123
137
|
#
|
124
138
|
def find_contact(params = {})
|
@@ -129,9 +143,11 @@ module SmsMasking
|
|
129
143
|
end
|
130
144
|
|
131
145
|
# ==== Attributes
|
146
|
+
#
|
132
147
|
# * +number+ : Number to search
|
133
148
|
#
|
134
149
|
# ==== Example
|
150
|
+
#
|
135
151
|
# sms.find_number({number: "085699999999"})
|
136
152
|
#
|
137
153
|
def find_number(params = {})
|
data/lib/sms_masking/version.rb
CHANGED