We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6eedcc8 commit 9ccd8c1Copy full SHA for 9ccd8c1
1 file changed
lib/hcloud/abstract_resource.rb
@@ -12,7 +12,7 @@ class << self
12
def bind_to(klass)
13
resource = self
14
%w[find find_by where all [] page limit per_page order
15
- to_a count pagnation each].each do |method|
+ to_a count pagnation pagination each].each do |method|
16
klass.define_singleton_method(method) do |*args, &block|
17
resource.new(client: Client.connection).public_send(method, *args, &block)
18
end
0 commit comments