lib/hackerone/client/program.rb in hackerone-client-0.15.0 vs lib/hackerone/client/program.rb in hackerone-client-0.16.0
- old
+ new
@@ -1,7 +1,9 @@
-require_relative './resource_helper'
+# frozen_string_literal: true
+require_relative "./resource_helper"
+
module HackerOne
module Client
class Program
include ResourceHelper
@@ -69,10 +71,10 @@
def swag(page_number: 1, page_size: 100)
response_body = make_get_request(
"programs/#{id}/swag",
params: { page: { number: page_number, size: page_size } }
)
- response_body.map{|r| Swag.new(r, self) }
+ response_body.map { |r| Swag.new(r, self) }
end
private
def members