-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: added static files for example spec file
- Loading branch information
1 parent
aeca6d1
commit b98e21f
Showing
6 changed files
with
59 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import Domain from "../base/Domain"; | ||
import V1 from "./accounts/V1"; | ||
|
||
class AccountsBase extends Domain { | ||
constructor(twilio: any) { | ||
super(twilio, "http://accounts.twilio.com"); | ||
} | ||
|
||
get v1(): V1 { | ||
return new V1(this); | ||
} | ||
} | ||
|
||
export = AccountsBase; |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
module Twilio | ||
module REST | ||
class Accounts < AccountsBase | ||
def v1 | ||
@v1 ||= V1.new self | ||
end | ||
end | ||
end | ||
end |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
## | ||
# This code was generated by | ||
# ___ _ _ _ _ _ _ ____ ____ ____ _ ____ ____ _ _ ____ ____ ____ ___ __ __ | ||
# | | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/ | ||
# | |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \ | ||
# | ||
# NOTE: This class is auto generated by OpenAPI Generator. | ||
# https://openapi-generator.tech | ||
# Do not edit the class manually. | ||
# frozen_string_literal: true | ||
|
||
module Twilio | ||
module REST | ||
class AccountsBase < Domain | ||
## | ||
# Initialize accounts domain | ||
# | ||
# @param twilio - The twilio client | ||
# | ||
def initialize(twilio) | ||
super | ||
@base_url = 'https://accounts.twilio.com' | ||
@host = 'api' | ||
@port = 443 | ||
end | ||
end | ||
end | ||
end |