lib/nexus/invision/resources/page.rb in nexus-invision-1.2.0 vs lib/nexus/invision/resources/page.rb in nexus-invision-1.2.1
- old
+ new
@@ -13,9 +13,24 @@
include ValueObject
TResource = type_member { { upper: T::Struct } }
+ sig { returns(Integer) }
+ attr_reader :page
+
+ sig { returns(Integer) }
+ attr_reader :per_page
+
+ sig { returns(Integer) }
+ attr_reader :total_results
+
+ sig { returns(Integer) }
+ attr_reader :total_pages
+
+ sig { returns(T::Array[TResource]) }
+ attr_reader :results
+
sig do
params(
page: Integer,
per_page: Integer,
total_results: Integer,