Skip to content

Commit

Permalink
Added documentation to the execute method, noting that it will raise …
Browse files Browse the repository at this point in the history
…a ServiceError if there is a problem with the service.
  • Loading branch information
visoft committed Jul 21, 2013
1 parent 77800a1 commit b61be95
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/ruby_odata/service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ def save_changes

# Performs query operations (Read) against the server.
# Typically this returns an array of record instances, except in the case of count queries
# @raise [ServiceError] if there is an error when talking to the service
def execute
begin
@response = RestClient::Resource.new(build_query_uri, @rest_options).get
Expand Down

0 comments on commit b61be95

Please sign in to comment.