Skip to content

Commit

Permalink
Fix some YARD issues
Browse files Browse the repository at this point in the history
  • Loading branch information
weppos committed Mar 9, 2016
1 parent 70d8e59 commit 181c12d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions lib/dnsimple/client/clients.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ def webhooks
end


# @!class Struct
class ClientService < ::Struct.new(:client)

# Internal helper that loops over a paginated response and returns all the records in the collection.
Expand Down
4 changes: 2 additions & 2 deletions lib/dnsimple/response.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ class Response
attr_reader :rate_limit_reset


# @param [Hash] response the HTTP response
# @param [Array] data the response data
# @param [HTTParty::Response] http_response the HTTP response
# @param [Object] data the response data
def initialize(http_response, data)
@http_response = http_response
@data = data
Expand Down

0 comments on commit 181c12d

Please sign in to comment.