Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Doug Black
committed
Aug 19, 2013
1 parent
61d946e
commit c315314
Showing
4 changed files
with
15 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
module Twilio | ||
module REST | ||
class Media < ListResource | ||
def initialize(path, client, params={}) | ||
super | ||
resource :images | ||
end | ||
end | ||
|
||
class MediaInstance < InstanceResource; end | ||
end | ||
end |
File renamed without changes.
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 |
---|---|---|
@@ -1,10 +1,11 @@ | ||
module Twilio | ||
module REST | ||
class Media < InstanceResource | ||
class Media < ListResource | ||
def initialize(path, client, params={}) | ||
super | ||
resource :images | ||
end | ||
end | ||
class MediaInstance < InstanceResource; end | ||
end | ||
end |