Skip to content

Commit 9ccd8c1

Browse files
authored
Fix typo for pagination method (#85)
This commit keeps the original typo for backwards compatibility.
1 parent 6eedcc8 commit 9ccd8c1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/hcloud/abstract_resource.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class << self
1212
def bind_to(klass)
1313
resource = self
1414
%w[find find_by where all [] page limit per_page order
15-
to_a count pagnation each].each do |method|
15+
to_a count pagnation pagination each].each do |method|
1616
klass.define_singleton_method(method) do |*args, &block|
1717
resource.new(client: Client.connection).public_send(method, *args, &block)
1818
end

0 commit comments

Comments
 (0)