lib/insales_api/theme.rb in insales_api-0.0.13 vs lib/insales_api/theme.rb in insales_api-0.1.0
- old
+ new
@@ -1,3 +1,9 @@
module InsalesApi
- class Theme < Base; end
+ class Theme < Base
+
+ def assets
+ InsalesApi::Asset.all(params: {theme_id: id})
+ end
+
+ end
end