This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"id": 34234, | |
"firstname": "Suhas", | |
"lastname": "Chatekar", | |
"email": "[email protected]", | |
"memberships": [{ | |
"meetup_id": 2345, | |
"name": "London Erlang Group" | |
}], | |
"rsvps": [{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"href": "https://myapi.com/v1/member/34234", | |
"hash": "4534dk6567lcmd4", | |
"id": 34234, | |
"firstname": "Suhas", | |
"lastname": "Chatekar", | |
"email": "[email protected]" | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[{ | |
"errorCode": "BAD_FORMAT", | |
"field": "email", | |
"originalValue": "suhas.chatekar", | |
"mesage": "{email} is not in correct format", | |
"helpUrl": "/help/BAD_FORMAT#email" | |
}] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Camera | |
{ | |
public void Shoot() | |
{ | |
//Take a picture here | |
} | |
} | |
public class Gun | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public interface IShootable | |
{ | |
void Shoot(); | |
} | |
public class Camera : IShootable | |
{ | |
public void Shoot() | |
{ | |
//Take a picture here |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public abstract class Shape | |
{ | |
void Draw(); | |
} | |
public class Rectangle : Shape | |
{ | |
public void Draw() | |
{ | |
//Draw a rectangle here |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
member(id: 34342), | |
{ | |
href, | |
hash, | |
id, | |
firstname, | |
lastname, | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
member(id: 34342), | |
{ | |
hash, | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"id": 34234, | |
"firstname": "Suhas", | |
"lastname": "Chatekar", | |
"email": "[email protected]", | |
"memberships": [{ | |
"meetup_id": 2345, | |
"name": "London Erlang Group" | |
}], | |
"rsvps": [{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//IATA terminal is split into multiple terminals e.g. PEK terminal 3 | |
// Reason - | |
var lb1 = { | |
code: "3", | |
name: "Terminal 3" | |
}; | |
var fd1 = [{ |