Skip to content

Commit

Permalink
Reorder methods
Browse files Browse the repository at this point in the history
  • Loading branch information
PanosCodes committed Apr 4, 2024
1 parent 3340a6a commit 20e8c84
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions lib/apipie/response_description.rb
Original file line number Diff line number Diff line change
Expand Up @@ -78,15 +78,6 @@ def self.from_dsl_data(method_description, code, args)
adapter)
end

def is_array?
@is_array_of != false
end

def typename
@response_object.typename
end


def initialize(method_description, code, options, scope, block, adapter)

@type_ref = options[:param_group]
Expand Down Expand Up @@ -119,6 +110,14 @@ def initialize(method_description, code, options, scope, block, adapter)
@response_object.additional_properties ||= options[:additional_properties]
end

def is_array?
@is_array_of != false
end

def typename
@response_object.typename
end

def param_description
nil
end
Expand Down

0 comments on commit 20e8c84

Please sign in to comment.