lib/yammer/api/group_membership.rb in yammer-client-0.1.2 vs lib/yammer/api/group_membership.rb in yammer-client-0.1.3

- old
+ new

@@ -5,11 +5,11 @@ # @see https://developer.yammer.com/restapi/#rest-groups # @api_path /api/v1/group_memberships/id # @rate_limited Yes # @authentication Requires user context # @raise [Yammer::Error::Unauthorized] Error raised when supplied user credentials are not valid. - # @return [Yammer::Response] + # @return [Yammer::ApiResponse] # @param id [Integer] the group membership ID # @example Fetch data for the thread # Yammer.get_group_membership(7) def get_group_membership(id) get("/api/v1/group_memberships/#{id}") @@ -18,10 +18,10 @@ # @see https://developer.yammer.com/restapi/#rest-groups # @api_path /api/v1/group_memberships # @rate_limited Yes # @authentication Requires user context # @raise [Yammer::Error::Unauthorized] Error raised when supplied user credentials are not valid. - # @return [Yammer::Response] + # @return [Yammer::ApiResponse] # @param id [Integer] the group ID # @example Fetch data for the thread # Yammer.create_group_membership(74) def create_group_membership(id) post("/api/v1/group_memberships", :group_id => id) \ No newline at end of file