Sha256: d165bebd6c307815ab91df754c12a29e5f5cb0aa53cebfb1f1b23a15f25b8180
Contents?: true
Size: 227 Bytes
Versions: 3
Compression:
Stored size: 227 Bytes
Contents
async <%=@method_name %>(id) { this.loading = true; const response = await api.get(`<%= @options[:model][:name].pluralize %>/${id}`); this.<%= @options[:model][:name] %> = response.data; this.loading = false; },
Version data entries
3 entries across 3 versions & 1 rubygems