render power data in table format

This commit is contained in:
Eric Hulburd
2016-02-10 16:11:56 -06:00
parent b14c266de3
commit 9996dfc54e
26 changed files with 424 additions and 141 deletions

View File

@@ -0,0 +1,18 @@
const ENDPOINT = '/data/v1/houses';
import extend from 'extend';
class HousesApi {
static index(params){
return jQuery.ajax({
url: ENDPOINT + '?' + jQuery.param(params),
type: 'GET',
dataType: 'json'
}).then((res)=>{
return res.data;
});
}
}
export default HousesApi;