Skip to content

Commit d2fc9a9

Browse files
committed
flexirest: Add Flexirest::BaseWithoutValidation#initialize
`Flexirest::BaseWithoutValidation#initialize` can take `attrs` to build a response object. https://github.com/flexirest/flexirest/blob/v.10.6/lib/flexirest/base_without_validation.rb#L22
1 parent e9ff529 commit d2fc9a9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

gems/flexirest/1.12/base_without_validation.rbs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ module Flexirest
99
include Caching
1010
extend Caching::ClassMethods
1111

12+
def initialize: (?untyped attrs) -> void
1213
def self._request: (String, Symbol, *untyped, **untyped) -> untyped
1314
def self._plain_request: (String, Symbol, *untyped, **untyped) -> untyped
1415
def self.prepare_direct_request: (String, Symbol, **untyped) -> untyped

0 commit comments

Comments
 (0)