@@ -211,7 +211,7 @@ def delete(self, feed, data_id):
211211 """
212212 path = "feeds/{0}/data/{1}" .format (feed , data_id )
213213 self ._delete (path )
214-
214+
215215 def toRed (self , data ):
216216 """Hex color feed to red channel.
217217 """
@@ -254,32 +254,7 @@ def delete_feed(self, feed):
254254 path = "feeds/{0}" .format (feed )
255255 self ._delete (path )
256256
257- def receive_group (self , group ):
258- """Retrieve the most recent value for the specified group. Group can be
259- a group ID, group key, or group name. Returns a Group instance whose
260- feeds property holds an array of Feed instances associated with the group.
261- """
262- path = "groups/{0}/last" .format (group )
263- return Group .from_dict (self ._get (path ))
264-
265- def receive_next_group (self , group ):
266- """Retrieve the next unread value from the specified group. Group can
267- be a group ID, group key, or group name. Returns a Group instance whose
268- feeds property holds an array of Feed instances associated with the
269- group.
270- """
271- path = "groups/{0}/next" .format (group )
272- return Group .from_dict (self ._get (path ))
273-
274- def receive_previous_group (self , group ):
275- """Retrieve the previous unread value from the specified group. Group
276- can be a group ID, group key, or group name. Returns a Group instance
277- whose feeds property holds an array of Feed instances associated with
278- the group.
279- """
280- path = "groups/{0}/previous" .format (group )
281- return Group .from_dict (self ._get (path ))
282-
257+ # Group functionality.
283258 def groups (self , group = None ):
284259 """Retrieve a list of all groups, or the specified group. If group is
285260 not specified a list of all groups will be returned. If group is
@@ -305,4 +280,4 @@ def delete_group(self, group):
305280 group name.
306281 """
307282 path = "groups/{0}" .format (group )
308- self ._delete (path )
283+ self ._delete (path )
0 commit comments