Sha256: 6ab62d8444dc7b5a4161ef667cab48d060e823506019209f1301dbc5692ad265

Contents?: true

Size: 777 Bytes

Versions: 1

Compression:

Stored size: 777 Bytes

Contents

@namespace("Gnomon")

protocol Location {

  record Timestamp {
    int timestamp;
  }

  /** This main class for this protocol */
  record Location {
    /** foo */
    int id;
    string type;
    string county_name;
    string state_name;
    string country_name;
    string city_name;
    string neighborhood_name;
    string postal_code_name;
    float latitude;
    float longitude;
    int population;
    array<Timestamp> foo;
    Timestamp updated_at;
  }

  record FetchOption {
    int page = 0;
    int per_page = 30;
  }

  /** Returns a list of Locations */
  array<Location> index(FetchOption options);

  /** Return a single Location */
  array<Location> show(int id);

  /** Try to guess a location from a given string */
  array<Location> resolve(string q);
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
service_contract-0.0.7 test/sample/1/source/location.avdl